summarylogtreecommitdiffstats
path: root/svgalib-1.9.25-vga_getmodenumber.patch
blob: 0a07565bde7d150d0a56a8a86f0fa4a861e2ecba (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/svgalib-1.9.25/src/vgamodesel.c	2012-02-03 10:45:43.000000000 +0200
+++ src/svgalib-1.9.25/src/vgamodesel.c	2012-02-03 10:45:47.000000000 +0200
@@ -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);