summaryrefslogtreecommitdiff
path: root/app/bin/denum.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/bin/denum.c')
-rw-r--r--app/bin/denum.c14
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 ] );
}