From: Rob Bradford <[email protected]>
---
src/compositor-drm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index cf626ba..c7d6c04 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -1673,7 +1673,7 @@ parse_modeline(const char *s, drmModeModeInfo *mode)
mode->vrefresh = 0;
mode->flags = 0;
- if (sscanf(s, "%f %hd %hd %hd %hd %hd %hd %hd %hd %s %s",
+ if (sscanf(s, "%f %hd %hd %hd %hd %hd %hd %hd %hd %15s %15s",
&fclock,
&mode->hdisplay,
&mode->hsync_start,
--
1.8.3.1
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel