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;