why did i make that macro anyways
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@832 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
9831c033fb
commit
01416857b5
3 changed files with 19 additions and 18 deletions
|
|
@ -98,7 +98,7 @@ static void files_activate(MwWidget handle, void* user, void* call) {
|
|||
char* p;
|
||||
|
||||
p = MwDirectoryJoin(fc->path, fc->sorted_entries[MwGetInteger(fc->files, MwNvalue) - 1]->name);
|
||||
MwDispatchUserHandler(handle->parent, MwNfileChosenHandler, p);
|
||||
MwDispatchUserHandler(handle->parent, fc->dir_only ? MwNdirectoryChosenHandler : MwNfileChosenHandler, p);
|
||||
free(p);
|
||||
|
||||
okay(fc->okay, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue