From 028cd5660f72576dd13dbf838b8ae8eef2e74098 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 4 Oct 2013 12:50:03 -0400 Subject: use g_strcasecmp() instead of strcasecmp() which doesn't exist with MSVC (some versions, at least) --- gtk2_ardour/gtk_pianokeyboard.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/gtk_pianokeyboard.c') diff --git a/gtk2_ardour/gtk_pianokeyboard.c b/gtk2_ardour/gtk_pianokeyboard.c index 1e5768040e..f3897e3d44 100644 --- a/gtk2_ardour/gtk_pianokeyboard.c +++ b/gtk2_ardour/gtk_pianokeyboard.c @@ -33,9 +33,9 @@ #include #include -#include #include #include + #include #include @@ -732,13 +732,13 @@ piano_keyboard_set_keyboard_layout(PianoKeyboard *pk, const char *layout) { assert(layout); - if (!strcasecmp(layout, "QWERTY")) { + if (!g_strcasecmp(layout, "QWERTY")) { bind_keys_qwerty(pk); - } else if (!strcasecmp(layout, "QWERTZ")) { + } else if (!g_strcasecmp(layout, "QWERTZ")) { bind_keys_qwertz(pk); - } else if (!strcasecmp(layout, "AZERTY")) { + } else if (!g_strcasecmp(layout, "AZERTY")) { bind_keys_azerty(pk); } else { -- cgit v1.2.3