summaryrefslogtreecommitdiff
path: root/netpbm/netpbm-10.35.52.diff
blob: f27c7b5eb6e0d0f8b45fff8350e3e6d0c1518724 (plain)
    1 --- editor/pamcomp.c~	2008-09-13 14:01:30.000000000 +0000
    2 +++ editor/pamcomp.c	2008-09-13 14:01:47.000000000 +0000
    3 @@ -325,25 +325,6 @@ validateComputableHeight(int const origi
    4  
    5  
    6  static void
    7 -validateComputableHeight(int const originTop, 
    8 -                         int const overRows) {
    9 -
   10 -    if (originTop < 0) {
   11 -        if (originTop < -INT_MAX)
   12 -            pm_error("Overlay starts too far above the underlay image to be "
   13 -                     "computable.  Overlay can be at most %d rows above "
   14 -                     "the underlay.", INT_MAX);
   15 -    } else {
   16 -        if (INT_MAX - originTop <= overRows)
   17 -            pm_error("Too many total rows involved to be computable.  "
   18 -                     "You must have a shorter overlay image or compose it "
   19 -                     "higher on the underlay image.");
   20 -    }
   21 -}
   22 -
   23 -
   24 -
   25 -static void
   26  computeOverlayPosition(int                const underCols, 
   27                         int                const underRows,
   28                         int                const overCols, 

Generated by cgit