summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@yahoo.com>2006-09-29 14:32:40 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-09-29 14:32:40 -0700
commit7f001cc4d10862204ce231ee13b7322f6b3187b7 (patch)
tree1328c39c69114ecd4f65acd262491acb0f81eb25
parentfbcdfef3eb395719a4227b3a410aa0f250bf5cc8 (diff)
X.Org bug #8454: xdbedizzy is segfaulting if built without Xprint support
X.Org Bug #8454 <https://bugs.freedesktop.org/show_bug.cgi?id=8454> Patch #7181 <https://bugs.freedesktop.org/attachment.cgi?id=7181>
-rw-r--r--xdbedizzy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdbedizzy.c b/xdbedizzy.c
index 6be2e7c..8875a51 100644
--- a/xdbedizzy.c
+++ b/xdbedizzy.c
@@ -705,8 +705,8 @@ int main(int argc, char *argv[])
/* Obtain some info about page geometry */
XpGetPageDimensions(dpy, pcontext, &dummy, &dummy, &winrect);
}
-#endif
else
+#endif
{
dpy = XOpenDisplay(display_name);
if (dpy == NULL) {