summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index 9135992cc..9561195dc 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -3492,7 +3492,7 @@ gui_drag_scrollbar(sb, value, still_dragging)
ins_horscroll();
else if (State & CMDLINE)
{
- if (!msg_scrolled)
+ if (msg_scrolled == 0)
{
gui_do_horiz_scroll();
redrawcmdline();