mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
b57e7139d4
- Support USE_BDB PR: 114078 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
14 lines
461 B
C
14 lines
461 B
C
--- src/style_init.c.orig Sat Feb 3 08:53:20 2001
|
|
+++ src/style_init.c Sun Jun 24 01:05:45 2007
|
|
@@ -77,8 +77,8 @@
|
|
tokens[i] = NULL;
|
|
i = 0;
|
|
strncpy(tmpstring, line, 100);
|
|
- (char *) tokens[i] = (char *) strtok(tmpstring, "\"");
|
|
- while (((char *) tokens[++i] = (char *) strtok(NULL, "\"")));
|
|
+ tokens[i] = (char *) strtok(tmpstring, "\"");
|
|
+ while ((tokens[++i] = (char *) strtok(NULL, "\"")));
|
|
tokens[i] = NULL;
|
|
return (tokens[index]);
|
|
}
|