X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fm_draft.c;h=050c7e51833643e83e2ae4a26e88d6bcecd594e5;hb=1980b87246c7099e9191890036398960f6dee4d1;hp=b8d385f9766f2fa3a04ec0ee9f8334b4db263df4;hpb=d4c34b4439a9dbd89664de460ed37ecddc260fb1;p=mmh diff --git a/sbr/m_draft.c b/sbr/m_draft.c index b8d385f..050c7e5 100644 --- a/sbr/m_draft.c +++ b/sbr/m_draft.c @@ -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));