summaryrefslogtreecommitdiff
path: root/graphics/exact-image/files/patch-bardecode__code128.hh
blob: 990c01c88db5bbc70354266237a89b59ad53e5c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- bardecode/code128.hh.orig	2010-01-16 23:58:07.000000000 -0500
+++ bardecode/code128.hh	2010-01-16 23:38:25.000000000 -0500
@@ -235,7 +235,7 @@
         switch (code_set) {
         case code_set_c:
             if (c < 100) {
-                char str[2];
+                char str[3];
                 sprintf(str,"%02d",c);
                 return std::string(str);
             } else {