diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c index 0805b22a..88a62968 100644 --- a/tools/tiff2pdf.c +++ b/tools/tiff2pdf.c @@ -1,4 +1,4 @@ -/* $Id: tiff2pdf.c,v 1.37 2007-02-24 16:28:48 dron Exp $ +/* $Id: tiff2pdf.c,v 1.38 2007-04-18 08:46:33 dron Exp $ * * tiff2pdf - converts a TIFF image to a PDF document * @@ -1921,9 +1921,9 @@ void t2p_read_tiff_size_tile(T2P* t2p, TIFF* input, ttile_t tile){ } /* - This functions returns a non-zero value when the tile is on the right edge - and does not have full imaged tile width. -*/ + * This functions returns a non-zero value when the tile is on the right edge + * and does not have full imaged tile width. + */ int t2p_tile_is_right_edge(T2P_TILES tiles, ttile_t tile){ @@ -1933,15 +1933,12 @@ int t2p_tile_is_right_edge(T2P_TILES tiles, ttile_t tile){ } else { return(0); } - - return(0); - } /* - This functions returns a non-zero value when the tile is on the bottom edge - and does not have full imaged tile length. -*/ + * This functions returns a non-zero value when the tile is on the bottom edge + * and does not have full imaged tile length. + */ int t2p_tile_is_bottom_edge(T2P_TILES tiles, ttile_t tile){ @@ -1951,14 +1948,12 @@ int t2p_tile_is_bottom_edge(T2P_TILES tiles, ttile_t tile){ } else { return(0); } - - return(0); } /* - This function returns a non-zero value when the tile is a right edge tile or a bottom - edge tile. -*/ + * This function returns a non-zero value when the tile is a right edge tile + * or a bottom edge tile. + */ int t2p_tile_is_edge(T2P_TILES tiles, ttile_t tile){ diff --git a/tools/tiffcrop.c b/tools/tiffcrop.c index b6b3f591..6540383d 100644 --- a/tools/tiffcrop.c +++ b/tools/tiffcrop.c @@ -1,4 +1,4 @@ -/* $Id: tiffcrop.c,v 1.4 2007-04-06 14:23:54 dron Exp $ */ +/* $Id: tiffcrop.c,v 1.5 2007-04-18 08:46:33 dron Exp $ */ /* tiffcrop.c -- a port of tiffcp.c extended to include cropping of selections * @@ -1560,7 +1560,7 @@ initImageData (struct image_data *image) image->spp = 0; image->planar = 0; image->photometric = 0; - }; + } static void initCropMasks (struct crop_mask *cps)