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:
NishiOwO
2025-12-01 18:16:17 +00:00
parent 9831c033fb
commit 01416857b5
3 changed files with 19 additions and 18 deletions

View File

@@ -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);