diff options
-rw-r--r-- | src/XF86VMode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/XF86VMode.c b/src/XF86VMode.c index 2a281cc..3a7de6b 100644 --- a/src/XF86VMode.c +++ b/src/XF86VMode.c @@ -963,12 +963,8 @@ XF86VidModeGetMonitor(dpy, screen, monitor) } if (rep.vendorLength) _XReadPad(dpy, monitor->vendor, rep.vendorLength); - else - monitor->vendor[0] = '\0'; if (rep.modelLength) _XReadPad(dpy, monitor->model, rep.modelLength); - else - monitor->model[0] = '\0'; UnlockDisplay(dpy); SyncHandle(); |