freebsd-ports/x11-toolkits/iv/files/patch-bq
Seigo Tanimura bf57334ca0 - Update to 3.2a.
- The maintainer is now a committer.

Reviewed by:	Kim Culhan <kimc@w8hd.org>
2000-01-25 02:35:00 +00:00

14 lines
554 B
Text

--- src/lib/IV-X11/xfont.c.org Thu Dec 9 14:17:55 1993
+++ src/lib/IV-X11/xfont.c Sun Jan 23 18:53:44 2000
@@ -538,8 +538,9 @@
static boolean contains(const char* string, const char* substring) {
int sublength = strlen(substring);
int length = strlen(string) - sublength;
- for (int i = 0; i <= length; ++i) {
- for (int j = 0; j < sublength; ++j) {
+ int i, j;
+ for (i = 0; i <= length; ++i) {
+ for (j = 0; j < sublength; ++j) {
if (string[i+j] != substring[j]) {
break;
}