mhl and mhbuild ignore to long lines
[mmh] / sbr / m_draft.c
index b8d385f..050c7e5 100644 (file)
@@ -23,7 +23,7 @@ m_draft(char *which)
        static char buffer[BUFSIZ];
        char *folder;
 
-       folder = getcpy(toabsdir(draftfolder));
+       folder = mh_xstrdup(toabsdir(draftfolder));
        create_folder(folder, 0, exit);
        if (!(mp = folder_read(folder))) {
                adios(EX_IOERR, NULL, "unable to read folder %s", folder);
@@ -53,7 +53,6 @@ m_draft(char *which)
        */
        if (!m_convert(mp, which))
                exit(EX_SOFTWARE);
-       seq_setprev(mp);
 
        snprintf(buffer, sizeof(buffer), "%s/%s", mp->foldpath,
                        m_name(mp->lowsel));