From 5bd60cb8edad2b5ba58035d1bd0f0e8bd9ebc1c0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 2 Jun 2015 07:27:10 +0200 Subject: [PATCH] Use setting_set_with_string_representation --- menu/menu_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/menu_input.c b/menu/menu_input.c index 223de0c7de..64e3c95873 100644 --- a/menu/menu_input.c +++ b/menu/menu_input.c @@ -91,7 +91,7 @@ void menu_input_st_uint_callback(void *userdata, const char *str) { rarch_setting_t *current_setting = NULL; if ((current_setting = menu_setting_find(menu->keyboard.label_setting))) - *current_setting->value.unsigned_integer = strtoul(str, NULL, 0); + setting_set_with_string_representation(current_setting, str); } menu_input_key_end_line();