diff options
-rw-r--r-- | CHANGES | 6 | ||||
-rw-r--r-- | src/LYForms.c | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/CHANGES b/CHANGES index 32074989..a4061831 100644 --- a/CHANGES +++ b/CHANGES @@ -1,9 +1,11 @@ --- $LynxId: CHANGES,v 1.977 2018/05/08 00:47:48 tom Exp $ +-- $LynxId: CHANGES,v 1.978 2018/05/08 21:02:36 tom Exp $ =============================================================================== Changes since Lynx 2.8 release =============================================================================== -2018-05-07 (2.8.9dev.19) +2018-05-08 (2.8.9dev.19) +* build-fix overlooked in 2.8.9dev.3 when INACTIVE_INPUT_STYLE_VH is defined, + for problem introduced by 2.8.8dev.17 code-cleanup -GV * trim unnecessary intllib symbols from src/chrtrans/makefile.in -TD * when cross-compiling, trim LDFLAGS from makefile rule linking makeuctb, because it is a build tool, which should generally use BUILD_LDFLAGS 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 |