Module Name: xsrc
Committed By: macallan
Date: Tue Jul 7 00:55:52 UTC 2015
Modified Files:
xsrc/external/mit/xf86-video-r128/dist/src: r128_driver.c
Log Message:
don't forget to NULL terminate the mode list when adding a single mode from
EDID. Now this works again on my Pismo.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c
diff -u xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c:1.9 xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c:1.10
--- xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c:1.9 Wed Mar 19 23:56:47 2014
+++ xsrc/external/mit/xf86-video-r128/dist/src/r128_driver.c Tue Jul 7 00:55:52 2015
@@ -1625,6 +1625,8 @@ static int R128ValidateFPModes(ScrnInfoP
pScrn->display->modes[0] = xnfalloc(16);
sprintf(pScrn->display->modes[0], "%dx%d",
info->PanelXRes, info->PanelYRes);
+ /* don't forget to NULL terminate */
+ pScrn->display->modes[1] = NULL;
}
for(i=0; pScrn->display->modes[i] != NULL; i++)