diff --git a/Engine/lib/nativeFileDialogs/nfd_gtk.c b/Engine/lib/nativeFileDialogs/nfd_gtk.c index 32f6a8d44..fd15a86dd 100644 --- a/Engine/lib/nativeFileDialogs/nfd_gtk.c +++ b/Engine/lib/nativeFileDialogs/nfd_gtk.c @@ -49,7 +49,8 @@ static void AddFiltersToDialog( GtkWidget *dialog, const char *filterList ) char typebufWildcard[NFD_MAX_STRLEN]; /* add another type to the filter */ - if (strlen(typebuf) <= 0 || strlen(typebuf) > NFD_MAX_STRLEN-1) { + if (strlen(typebuf) <= 0 || strlen(typebuf) > NFD_MAX_STRLEN-1) + { p_filterList++; continue; }