summaryrefslogtreecommitdiff
blob: da7c1c21c6462762eb9158fbde8189dc90aa8317 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- svgalib-1.9.25/src/vgamodesel.c~
+++ svgalib-1.9.25/src/vgamodesel.c
@@ -35,7 +35,7 @@ int __svgalib_name2number(char *m)
 int vga_getmodenumber(char *m)
 {
     int i;
-    char s[3];
+    char s[8];
 
     __svgalib_getchipset();		/* Do initialisation first */
     i = __svgalib_name2number(m);