From 09795a01ef859f072920de9df974d1b03b9ab9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 28 Dec 2016 20:24:50 +0100 Subject: New upstream version 4.2.4a --- app/bin/denum.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/bin/denum.c') 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 ] ); } -- cgit v1.2.3