diff options
Diffstat (limited to 'src/fe-common/core/windows-layout.c')
-rw-r--r-- | src/fe-common/core/windows-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/windows-layout.c b/src/fe-common/core/windows-layout.c index 9285f3bd..882e8539 100644 --- a/src/fe-common/core/windows-layout.c +++ b/src/fe-common/core/windows-layout.c @@ -57,11 +57,11 @@ static void sig_layout_restore_item(WINDOW_REC *window, const char *type, if (name == NULL || tag == NULL) return; - if (g_strcasecmp(type, "CHANNEL") == 0) { + if (g_ascii_strcasecmp(type, "CHANNEL") == 0) { /* bind channel to window */ WINDOW_BIND_REC *rec = window_bind_add(window, tag, name); rec->sticky = TRUE; - } else if (g_strcasecmp(type, "QUERY") == 0 && chat_type != NULL) { + } else if (g_ascii_strcasecmp(type, "QUERY") == 0 && chat_type != NULL) { CHAT_PROTOCOL_REC *protocol; /* create query immediately */ signal_add("query created", |