summaryrefslogtreecommitdiff
path: root/src/fe-text/textbuffer-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/textbuffer-commands.c')
-rw-r--r--src/fe-text/textbuffer-commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-text/textbuffer-commands.c b/src/fe-text/textbuffer-commands.c
index 4313cc2d..78d7e003 100644
--- a/src/fe-text/textbuffer-commands.c
+++ b/src/fe-text/textbuffer-commands.c
@@ -69,12 +69,12 @@ static void cmd_window_scroll(const char *data)
GUI_WINDOW_REC *gui;
gui = WINDOW_GUI(active_win);
- if (g_strcasecmp(data, "default") == 0) {
+ if (g_ascii_strcasecmp(data, "default") == 0) {
gui->use_scroll = FALSE;
- } else if (g_strcasecmp(data, "on") == 0) {
+ } else if (g_ascii_strcasecmp(data, "on") == 0) {
gui->use_scroll = TRUE;
gui->scroll = TRUE;
- } else if (g_strcasecmp(data, "off") == 0) {
+ } else if (g_ascii_strcasecmp(data, "off") == 0) {
gui->use_scroll = TRUE;
gui->scroll = FALSE;
} else if (*data != '\0') {