Skip to content

Commit ed9cd1a

Browse files
committed
MSVC 2005 - buildfix
1 parent 61df9b2 commit ed9cd1a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

menu/cbs/menu_cbs_ok.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -3739,8 +3739,9 @@ static void netplay_refresh_rooms_cb(void *task_data, void *user_data, const cha
37393739
char s[PATH_MAX_LENGTH];
37403740
unsigned i = 0;
37413741
unsigned j = 0;
3742+
file_list_t *list = menu_entries_get_selection_buf_ptr(0);
3743+
37423744
lan_room_count = 0;
3743-
file_list_t *file_list = menu_entries_get_selection_buf_ptr(0);
37443745

37453746
#ifndef RARCH_CONSOLE
37463747
netplay_discovery_driver_ctl(RARCH_NETPLAY_DISCOVERY_CTL_LAN_GET_RESPONSES, &lan_hosts);
@@ -3805,7 +3806,7 @@ static void netplay_refresh_rooms_cb(void *task_data, void *user_data, const cha
38053806
}
38063807
netplay_room_count += lan_room_count;
38073808
}
3808-
netplay_refresh_rooms_menu(file_list);
3809+
netplay_refresh_rooms_menu(list);
38093810
}
38103811
}
38113812

0 commit comments

Comments
 (0)