about summary refs log tree commit diff stats
path: root/src/LYStrings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYStrings.c')
-rw-r--r--src/LYStrings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYStrings.c b/src/LYStrings.c
index 92f386f8..a9493a36 100644
--- a/src/LYStrings.c
+++ b/src/LYStrings.c
@@ -1,4 +1,4 @@
-/* $LynxId: LYStrings.c,v 1.127 2007/07/01 23:16:31 Daniel.Dickman Exp $ */
+/* $LynxId: LYStrings.c,v 1.128 2007/08/02 19:24:50 tom Exp $ */
 #include <HTUtils.h>
 #include <HTCJK.h>
 #include <UCAux.h>
@@ -3127,7 +3127,7 @@ int LYEdit1(EDREC * edit, int ch,
 	    while (is8bits(Buf[Pos]))
 		Pos += 2;
 	} else {
-	    while (!is8bits(Buf[Pos]) && isalnum(Buf[Pos]))
+	    while (!is8bits(Buf[Pos]) && isalnum(UCH(Buf[Pos])))
 		Pos++;		/* '\0' is not a/n */
 	}
 	while ((HTCJK == NOCJK || !is8bits(Buf[Pos])) &&