Skip to content

Commit 590ba84

Browse files
committed
C89_BUILD buildfix
1 parent 9cc58f2 commit 590ba84

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

menu/menu_displaylist.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ static int filebrowser_parse(
341341

342342
for (i = 0; i < list_size; i++)
343343
{
344+
bool dir_only_mode;
344345
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
345346
enum rarch_content_type path_type = RARCH_CONTENT_NONE;
346347
enum msg_file_type file_type = FILE_TYPE_NONE;
@@ -350,7 +351,7 @@ static int filebrowser_parse(
350351
if (string_is_empty(file_path))
351352
continue;
352353

353-
bool dir_only_mode = ( filebrowser_type == FILEBROWSER_SELECT_DIR
354+
dir_only_mode = ( filebrowser_type == FILEBROWSER_SELECT_DIR
354355
|| filebrowser_type == FILEBROWSER_SCAN_DIR
355356
|| filebrowser_type == FILEBROWSER_MANUAL_SCAN_DIR);
356357

0 commit comments

Comments
 (0)