diff options
Diffstat (limited to 'x11-toolkits/iv/files/patch-bx')
-rw-r--r-- | x11-toolkits/iv/files/patch-bx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/iv/files/patch-bx b/x11-toolkits/iv/files/patch-bx new file mode 100644 index 000000000000..d277ad0975e0 --- /dev/null +++ b/x11-toolkits/iv/files/patch-bx @@ -0,0 +1,12 @@ +--- src/lib/IV-X11/xfont.c.orig Tue Dec 28 23:19:05 1999 ++++ src/lib/IV-X11/xfont.c Tue Dec 28 23:19:38 1999 +@@ -527,7 +527,8 @@ + int sublength = strlen(substring); + int length = strlen(string) - sublength; + for (int i = 0; i <= length; ++i) { +- for (int j = 0; j < sublength; ++j) { ++ int j; ++ for (j = 0; j < sublength; ++j) { + if (string[i+j] != substring[j]) { + break; + } |