aboutsummaryrefslogtreecommitdiff
path: root/graphics/zphoto/files/patch-zphoto.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/zphoto/files/patch-zphoto.c')
-rw-r--r--graphics/zphoto/files/patch-zphoto.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/zphoto/files/patch-zphoto.c b/graphics/zphoto/files/patch-zphoto.c
new file mode 100644
index 000000000000..6bf251887617
--- /dev/null
+++ b/graphics/zphoto/files/patch-zphoto.c
@@ -0,0 +1,12 @@
+--- zphoto.c.orig Sat Apr 10 18:12:30 2004
++++ zphoto.c Mon Apr 12 09:48:26 2004
+@@ -1308,8 +1308,8 @@
+ fp = zphoto_efopen(file_name, "r");
+
+ while (fgets(buf, BUFSIZ, fp)) {
+- buf[strcspn(buf, "\r\n")] = '\0'; /* chomp */
+ char *sep, *file_name, *caption;
++ buf[strcspn(buf, "\r\n")] = '\0'; /* chomp */
+ if (buf[0] == '#')
+ continue;
+ if ((sep = strchr(buf, '\t'))) {