summaryrefslogtreecommitdiff
path: root/x11-toolkits/iv/files/patch-by
blob: cb1e2b2946aeb87b9712ea71caec227ce610fcff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/lib/Unidraw/text.c.orig	Tue Dec 28 23:20:23 1999
+++ src/lib/Unidraw/text.c	Tue Dec 28 23:20:46 1999
@@ -561,8 +561,9 @@
 
 const char* PSText::Filter (const char* string, int len) {
     TextBuffer stext(sbuf, 0, SBUFSIZE);
+    int dot;
 
-    for (int dot = 0; len--; string++) {
+    for (dot = 0; len--; string++) {
 	char c = *string;
 
 	if (!isascii(c) || iscntrl(c)) {