diff --git a/gtk2_ardour/gtk_pianokeyboard.c b/gtk2_ardour/gtk_pianokeyboard.c index f3897e3d44..4f1740f26a 100644 --- a/gtk2_ardour/gtk_pianokeyboard.c +++ b/gtk2_ardour/gtk_pianokeyboard.c @@ -732,13 +732,13 @@ piano_keyboard_set_keyboard_layout(PianoKeyboard *pk, const char *layout) { assert(layout); - if (!g_strcasecmp(layout, "QWERTY")) { + if (!g_ascii_strcasecmp(layout, "QWERTY")) { bind_keys_qwerty(pk); - } else if (!g_strcasecmp(layout, "QWERTZ")) { + } else if (!g_ascii_strcasecmp(layout, "QWERTZ")) { bind_keys_qwertz(pk); - } else if (!g_strcasecmp(layout, "AZERTY")) { + } else if (!g_ascii_strcasecmp(layout, "AZERTY")) { bind_keys_azerty(pk); } else {