diff options
| author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-02 19:07:21 +0000 |
|---|---|---|
| committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-02 19:07:21 +0000 |
| commit | b07f78a5a0bd887500cf1ad3b7c0453e4c1b3467 (patch) | |
| tree | ce9ea10d8d7e4366a2b345792d203605392574c4 /textproc/word2x/files/patch-col-align.cc | |
| parent | - Update to version 1.9.13 (diff) | |
- Fix build on -current
PR: ports/65090
Submitted by: Ports Fury
Diffstat (limited to 'textproc/word2x/files/patch-col-align.cc')
| -rw-r--r-- | textproc/word2x/files/patch-col-align.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/word2x/files/patch-col-align.cc b/textproc/word2x/files/patch-col-align.cc new file mode 100644 index 000000000000..5d8bd38cfa41 --- /dev/null +++ b/textproc/word2x/files/patch-col-align.cc @@ -0,0 +1,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; |
