opt/netpbm/netpbm-10.35.51.diff
2008-09-13 14:17:56 +00:00

29 lines
1.0 KiB
Diff

--- editor/pamcomp.c~ 2008-09-13 14:01:30.000000000 +0000
+++ editor/pamcomp.c 2008-09-13 14:01:47.000000000 +0000
@@ -325,25 +325,6 @@ validateComputableHeight(int const origi
static void
-validateComputableHeight(int const originTop,
- int const overRows) {
-
- if (originTop < 0) {
- if (originTop < -INT_MAX)
- pm_error("Overlay starts too far above the underlay image to be "
- "computable. Overlay can be at most %d rows above "
- "the underlay.", INT_MAX);
- } else {
- if (INT_MAX - originTop <= overRows)
- pm_error("Too many total rows involved to be computable. "
- "You must have a shorter overlay image or compose it "
- "higher on the underlay image.");
- }
-}
-
-
-
-static void
computeOverlayPosition(int const underCols,
int const underRows,
int const overCols,