aboutsummaryrefslogtreecommitdiff
path: root/textproc/word2x/files/patch-ab
blob: 5d8bd38cfa41a19d46d3a300c3a61729f6f7c2b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- col-align.cc.orig	Fri Jul 24 06:59:12 1998
+++ col-align.cc	Mon Sep 14 10:30:36 1998
@@ -50,7 +50,7 @@
 	}
 	if (strlen(cdp)>(unsigned) max_wd[2])
 	    max_wd[2]=strlen(cdp);
-	for (lt_sp=0, sc=cdp; isspace(*sc); sc++, lt_sp++)
+	for (lt_sp=0, sc=cdp; isspace((unsigned char)*sc); sc++, lt_sp++)
 	{
 	    if (*sc==CH_SUSPECT)
 		align_set=1;
@@ -62,7 +62,7 @@
 	{
 	    if (*sc==CH_SUSPECT)
 		align_set=1;
-	    if (isspace(*sc))
+	    if (isspace((unsigned char)*sc))
 		rt_sp++;
 	    else
 		rt_sp=0;