summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/iv/files/patch-bt
blob: f0d38ea8420d87fa298e138166f5e6a70553b2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/lib/Unidraw/text.c.org	Wed Mar 25 10:18:22 1992
+++ src/lib/Unidraw/text.c	Sun Jan 23 19:29:41 2000
@@ -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)) {
OpenPOWER on IntegriCloud