1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/iv/files/patch-by
Shigeyuki Fukushima d0094e951a Fix build error under 4-current and new egcs/C++ compiler.
PR:		ports/16024
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
2000-01-11 15:52:35 +00:00

15 lines
421 B
Plaintext

--- src/lib/Unidraw/text.c.org Wed Mar 25 10:18:22 1992
+++ src/lib/Unidraw/text.c Mon Jan 3 15:32:12 2000
@@ -560,9 +560,10 @@
// errors in a Postscript string.
const char* PSText::Filter (const char* string, int len) {
+ int dot;
TextBuffer stext(sbuf, 0, SBUFSIZE);
- for (int dot = 0; len--; string++) {
+ for (dot = 0; len--; string++) {
char c = *string;
if (!isascii(c) || iscntrl(c)) {