done
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@761 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
e55d0ce70e
commit
d96c6fef5e
12 changed files with 84 additions and 43 deletions
|
|
@ -385,7 +385,7 @@ static void scan(MwWidget handle, const char* path, int record) {
|
|||
qsort(fc->entries, arrlen(fc->entries), sizeof(MwDirectoryEntry*), qsort_files);
|
||||
|
||||
if(record) {
|
||||
char* str = MwStringDupliacte(path);
|
||||
char* str = MwStringDuplicate(path);
|
||||
|
||||
while(arrlen(fc->history) > fc->history_seek) {
|
||||
free(fc->history[fc->history_seek]);
|
||||
|
|
@ -403,7 +403,7 @@ static void scan(MwWidget handle, const char* path, int record) {
|
|||
}
|
||||
|
||||
if(fc->path != NULL) free(fc->path);
|
||||
fc->path = MwStringDupliacte(path);
|
||||
fc->path = MwStringDuplicate(path);
|
||||
|
||||
MwVaApply(fc->addr,
|
||||
MwNtext, path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue