diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-04 12:50:03 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-04 12:50:03 -0400 |
commit | 028cd5660f72576dd13dbf838b8ae8eef2e74098 (patch) | |
tree | dc3e7dabd24f6e66a8002ce9831f90b2a6142255 | |
parent | 1344014cbdc92cd8db6dbb20a9547ea143d8ed20 (diff) |
use g_strcasecmp() instead of strcasecmp() which doesn't exist with MSVC (some versions, at least)
-rw-r--r-- | gtk2_ardour/gtk_pianokeyboard.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 <assert.h> #include <string.h> -#include <strings.h> #include <stdint.h> #include <cairo/cairo.h> + #include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> @@ -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 { |