about summary refs log tree commit diff stats
path: root/src/LYForms.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2018-05-08 21:02:36 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-05-08 21:02:36 +0000
commit7c6f0851ab90a776c3746e4384531b034a62ceca (patch)
treed09c58c872ae066710eefcd1fb9e0dacb321ce41 /src/LYForms.c
parent0e654512544f6f0e013364c4a7c3451b0fefdd13 (diff)
downloadlynx-snapshots-7c6f0851ab90a776c3746e4384531b034a62ceca.tar.gz
snapshot of project "lynx", label v2-8-9dev_18b
Diffstat (limited to 'src/LYForms.c')
-rw-r--r--src/LYForms.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LYForms.c b/src/LYForms.c
index d74d9d0f..642aa844 100644
--- a/src/LYForms.c
+++ b/src/LYForms.c
@@ -1,4 +1,4 @@
-/* $LynxId: LYForms.c,v 1.117 2015/12/15 01:32:45 tom Exp $ */
+/* $LynxId: LYForms.c,v 1.118 2018/05/08 20:51:57 tom Exp $ */
 #include <HTUtils.h>
 #include <HTCJK.h>
 #include <HTTP.h>
@@ -421,10 +421,10 @@ static int form_getstr(int cur,
 	LastTFPos < (int) edit->efBufInUse) {
 #if defined(TEXTFIELDS_MAY_NEED_ACTIVATION) && defined(INACTIVE_INPUT_STYLE_VH)
 	if (redraw_only) {
-	    if (!(edit->efBufInUse >= edit->efWide &&
-		  LastTFPos >= edit->efWide - edit->efPanMargin)) {
+	    if (!((int) edit->efBufInUse >= edit->efWidth &&
+		  LastTFPos >= edit->efWidth - edit->efPanMargin)) {
 		edit->efEditAt = LastTFPos;
-		if (edit->efBufInUse >= edit->efWide)
+		if ((int) edit->efBufInUse >= edit->efWidth)
 		    textinput_redrawn = FALSE;
 	    }
 	} else