updated for version 7.0153
diff --git a/src/gui.c b/src/gui.c
index 9135992..9561195 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -3492,7 +3492,7 @@
 	    ins_horscroll();
 	else if (State & CMDLINE)
 	{
-	    if (!msg_scrolled)
+	    if (msg_scrolled == 0)
 	    {
 		gui_do_horiz_scroll();
 		redrawcmdline();