diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-01 07:22:17 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-01 07:22:17 -0700 |
commit | ffa604b5e6b60c5a98cc18819e70786b26b0b07c (patch) | |
tree | e9ecbc541a8f885cb48bb95a006fd8eaa1c08d92 /xdpyinfo.c | |
parent | bb7e3c9ac00d5b3933b69470e03fadfe1800f7ae (diff) |
Bug 3438: xdpyinfo reporting wrong information on xf86vidmode extension
https://bugs.freedesktop.org/show_bug.cgi?id=3438
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r-- | xdpyinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -823,7 +823,7 @@ print_XF86VidMode_info(Display *dpy, char *extname) if (modelines[i]->flags & V_INTERLACE) printf(" interlace"); if (modelines[i]->flags & V_CSYNC) printf(" composite"); if (modelines[i]->flags & V_PCSYNC) printf(" +csync"); - if (modelines[i]->flags & V_PCSYNC) printf(" -csync"); + if (modelines[i]->flags & V_NCSYNC) printf(" -csync"); if (modelines[i]->flags & V_DBLSCAN) printf(" doublescan"); printf("\n"); } @@ -846,7 +846,7 @@ print_XF86VidMode_info(Display *dpy, char *extname) if (modeline.flags & V_INTERLACE) printf(" interlace"); if (modeline.flags & V_CSYNC) printf(" composite"); if (modeline.flags & V_PCSYNC) printf(" +csync"); - if (modeline.flags & V_PCSYNC) printf(" -csync"); + if (modeline.flags & V_NCSYNC) printf(" -csync"); if (modeline.flags & V_DBLSCAN) printf(" doublescan"); printf("\n"); } |