/[packages]/cauldron/xsane/current/SOURCES/xsane-0.996-fix-gcc44.patch
ViewVC logotype

Contents of /cauldron/xsane/current/SOURCES/xsane-0.996-fix-gcc44.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49627 - (show annotations) (download)
Thu Feb 10 03:58:41 2011 UTC (13 years, 2 months ago) by spuhler
File size: 684 byte(s)
imported package xsane
1 Index: src/xsane.c
2 ===================================================================
3 --- src/xsane.c
4 +++ src/xsane.c 2009-05-27 10:25:10.000000000 +0200
5 @@ -3211,7 +3211,7 @@
6 }
7 else
8 {
9 - snprintf(buf, sizeof(buf), xsane.devlist[xsane.selected_dev]->name);
10 + snprintf(buf, sizeof(buf), "%s" ,xsane.devlist[xsane.selected_dev]->name);
11 }
12 label = xsane_info_table_text_new(table, buf, 1, 3);
13
14 @@ -4908,7 +4908,7 @@
15
16 snprintf(buf, sizeof(buf), ":%s", devname);
17 snprintf(buf, sizeof(buf), "/%s", (strrchr(buf, ':')+1));
18 - sprintf(textptr, (strrchr(buf, '/')+1));
19 + sprintf(textptr, "%s",(strrchr(buf, '/')+1));
20
21 xsane.device_text = strdup(devicetext);
22

  ViewVC Help
Powered by ViewVC 1.1.30