Patch by Magliocchetti Riccardo:

show key name instead of code when modifying controls, the very same change has been committed some times ago to the function that show it
This commit is contained in:
yabause 2008-11-10 22:23:49 +00:00
parent 6c8d4b2ff0
commit 7923100820
1 changed files with 1 additions and 1 deletions

View File

@ -972,7 +972,7 @@ static void Modify_Key(GtkWidget* widget, gpointer data)
switch(gtk_dialog_run(GTK_DIALOG(mkDialog))) {
case GTK_RESPONSE_OK:
Keypad_Temp[Key] = Modify_Key_Chosen;
Key_Label = g_strdup_printf("%s (%d)", key_names[Key], Keypad_Temp[Key]);
Key_Label = g_strdup_printf("%s (%s)", key_names[Key], gdk_keyval_name(Keypad_Temp[Key]));
gtk_button_set_label(GTK_BUTTON(widget), Key_Label);
g_free(Key_Label);
break;