]> git.pld-linux.org Git - packages/freetype1.git/commitdiff
- fix replace spaces with underscores (patch from Conectiva). freetype-1_3_1-10 freetype-1_3_1-8 freetype-1_3_1-9
authorkloczek <kloczek@pld-linux.org>
Fri, 8 Sep 2000 05:49:23 +0000 (05:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freetype-nospaces.patch -> 1.1

freetype-nospaces.patch [new file with mode: 0644]

diff --git a/freetype-nospaces.patch b/freetype-nospaces.patch
new file mode 100644 (file)
index 0000000..b0e8d55
--- /dev/null
@@ -0,0 +1,12 @@
+--- freetype-1.3.1/ttmkfdir/ttmkfdir.c.nospaces        Wed Jan 12 22:57:36 2000
++++ freetype-1.3.1/ttmkfdir/ttmkfdir.c Wed Jan 12 23:05:12 2000
+@@ -1165,7 +1165,8 @@
+       if (!isascii (string[i])) {
+           return NULL;
+       }
+-      name_buffer[name_len++] = (string[i] == '-') ? '_' : string[i];
++      name_buffer[name_len] = (string[i] == '-') ? '_' : string[i];
++      name_buffer[name_len++] = (string[i] == ' ') ? '_' : string[i];
+     }
+     name_buffer[name_len] = '\0';
This page took 0.076718 seconds and 4 git commands to generate.