summaryrefslogtreecommitdiff
path: root/source/l/svgalib/svgalib-1.9.25-vga_getmodenumber.patch
blob: 59baedbcf7adb93a36757f42d2c3e01ab9650405 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- svgalib-1.9.25/src/vgamodesel.c.orig	2012-02-03 10:45:43.000000000 +0200
+++ 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);