summaryrefslogtreecommitdiff
blob: b36958849f535dfac236d22df6ce424c9bb08b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Nru xstroke-0.6.vanilla/sprintf_alloc.c xstroke-0.6/sprintf_alloc.c
--- xstroke-0.6.vanilla/sprintf_alloc.c	2005-11-26 01:55:32.000000000 +0100
+++ xstroke-0.6/sprintf_alloc.c	2005-11-26 01:55:55.000000000 +0100
@@ -74,7 +74,8 @@
 {
     char *new_str;
     /* Guess we need no more than 100 bytes. */
-    int n, size = 100;
+	/* yeah... right... */
+    int n, size = 512;
  
     if ((*str = malloc (size)) == NULL)
 	return -1;