Introduced FDEF and FCUR for speaking arguments to getfolder().
[mmh] / sbr / path.c
index 8802eaa..b3a8fff 100644 (file)
@@ -101,7 +101,8 @@ expath(char *name, int type)
 
        if (type == TSUBCWF) {
                /* @folder to +folder */
-               snprintf(buffer, sizeof(buffer), "%s/%s", getfolder(1), name);
+               snprintf(buffer, sizeof(buffer), "%s/%s",
+                               getfolder(FCUR), name);
                name = m_mailpath(buffer);
                packpath(name);
                snprintf(buffer, sizeof(buffer), "%s/", m_maildir(""));