forked from rosebudai/OpenRCT2-Web
fix warning
This commit is contained in:
1 parent
e57f27e1a1
commit
781d84dfa4
1 file changed
+2
-2
@@ -474,8 +474,8 @@ static void window_multiplayer_groups_mouseup(rct_window *w, int widgetIndex)
|
||||
break;
|
||||
case WIDX_RENAME_GROUP:;
|
||||
int groupIndex = network_get_group_index(_selectedGroup);
|
||||
utf8 *groupName = network_get_group_name(groupIndex);
|
||||
window_text_input_raw_open(w, widgetIndex, STR_GROUP_NAME, STR_ENTER_NEW_NAME_FOR_THIS_GROUP, groupName, 32);
|
||||
const utf8 *groupName = network_get_group_name(groupIndex);
|
||||
window_text_input_raw_open(w, widgetIndex, STR_GROUP_NAME, STR_ENTER_NEW_NAME_FOR_THIS_GROUP, (utf8*)groupName, 32);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user