diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:24:50 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:24:50 +0100 |
commit | 09795a01ef859f072920de9df974d1b03b9ab9a4 (patch) | |
tree | 4d05907fc37f1bd781e506f5e196f7435aeec0ab /app/bin/denum.c | |
parent | 5b4163d8c76b03f0d31b09866aa4bd06b4d8d804 (diff) |
New upstream version 4.2.4aupstream/4.2.4a
Diffstat (limited to 'app/bin/denum.c')
-rw-r--r-- | app/bin/denum.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/bin/denum.c b/app/bin/denum.c index de5200b..d27a135 100644 --- a/app/bin/denum.c +++ b/app/bin/denum.c @@ -66,15 +66,15 @@ static int count_utf8_chars(char *s) { } static int DoEnumSave( - const char * pathName, - const char * fileName, + int files, + char **fileName, void * data ) { - if (pathName == NULL) - return TRUE; - memcpy( curDirName, pathName, fileName-pathName ); - curDirName[fileName-pathName-1] = '\0'; - return wTextSave( enumT, pathName ); + assert( fileName != NULL ); + assert( files == 1 ); + + SetCurrentPath( PARTLISTPATHKEY, fileName[0] ); + return wTextSave( enumT, fileName[ 0 ] ); } |