actually, i wanted to check the height and width, and if i am checking width twice, taht means that the second test needs to be for this statement here:
(DisplayHeightMM(dpy,i) < 1) instead of what it is now, which is: (DisplayWidthMM(dpy,i) < 1) change that line to the appropriate check and it'll work even better, because it won't let the applications crash due to having a 0 for the height and/or width. -- SIGFPE in create_dpis() in QPaintDevice::~QPaintDevice https://launchpad.net/bugs/81686 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs