git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@797 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-24 16:15:06 +00:00
parent 8e1949ad12
commit 88b3e3b068

View File

@@ -74,7 +74,7 @@ static void okay(MwWidget handle, void* user, void* call) {
(void)user;
(void)call;
p = MwDirectoryJoin(fc->path, fc->sorted_entries[MwGetInteger(fc->files, MwNvalue)]->name);
p = MwDirectoryJoin(fc->path, fc->sorted_entries[MwGetInteger(fc->files, MwNvalue) - 1]->name);
MwDispatchUserHandler(handle->parent, MwNfileChosenHandler, p);
free(p);