openbsd-ports/x11/openmotif/patches/patch-clients-mwm-WmIconBox.c
matt a521d0a427 - consolidate pre-build steps into post-patch
- eliminate XCONFIGF in Makefile to prevent multiple evaluations
- point mwm at PROJECTROOT (i.e. /usr/local) instead of XPROJECTROOT
  (i.e. /usr/X11R6) to find lib/X11/system.mwmrc
- tblize manpages
- break up patches and rename to match current convention
- prettify Makefile
2000-08-10 01:40:40 +00:00

19 lines
539 B
C

--- clients/mwm/WmIconBox.c.orig Tue May 2 11:53:42 2000
+++ clients/mwm/WmIconBox.c Wed Aug 9 19:29:42 2000
@@ -2937,6 +2937,7 @@
if (majorDimension != pIBD->IPD.placementCols)
{
pIBD->IPD.placementCols = majorDimension;
+ if (pIBD->IPD.placementCols == 0) pIBD->IPD.placementCols++;
}
}
else
@@ -2954,6 +2955,7 @@
if (majorDimension != pIBD->IPD.placementRows)
{
pIBD->IPD.placementRows = majorDimension;
+ if (pIBD->IPD.placementRows == 0) pIBD->IPD.placementRows++;
}
}