Skip to content

Commit

Permalink
Fix TouchButtons Select crash.
Browse files Browse the repository at this point in the history
How this even worked before?
  • Loading branch information
lewa-j committed Aug 8, 2020
1 parent 1e9b1dc commit 6e91355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menus/TouchButtons.cpp
Expand Up @@ -232,7 +232,7 @@ void CMenuTouchButtons::OpenFileDialog()
// TODO: Remove uiFileDialogGlobal
// TODO: Make uiFileDialog menu globally known
// TODO: Make FileDialogCallback as event
uiFileDialogGlobal.npatterns = 7;
uiFileDialogGlobal.npatterns = 6;
strcpy( uiFileDialogGlobal.patterns[0], "touch/*.tga");
strcpy( uiFileDialogGlobal.patterns[1], "touch_default/*.tga");
strcpy( uiFileDialogGlobal.patterns[2], "gfx/touch/*");
Expand Down

0 comments on commit 6e91355

Please sign in to comment.