x11-xserver-utils/debian/patches/16_xdbedizzy_fix_crash.diff

18 lines
511 B
Diff

This patch by Eugene Konev.
See Debian Bug #365291
diff a/xdbedizzy/xdbedizzy.c b/xdbedizzy/xdbedizzy.c
--- a/xdbedizzy/xdbedizzy.c Sun Apr 30 13:38:36 2006 +0800
+++ b/xdbedizzy/xdbedizzy.c Sun Apr 30 13:40:29 2006 +0800
@@ -701,8 +701,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) {