]> git.imager.perl.org - imager.git/blobdiff - map.c
look at the correct %Config library and include paths
[imager.git] / map.c
diff --git a/map.c b/map.c
index 0e9c47db2dfd920f39de68311dee8382d98bda39..f1a6db5bd3dfb152d036e94a864bff8b6ead4bec 100644 (file)
--- a/map.c
+++ b/map.c
@@ -17,7 +17,7 @@ converting from RGBA to greyscale and back.
 =cut
 */
 
-#include "image.h"
+#include "imager.h"
 
 
 /*
@@ -39,7 +39,7 @@ i_map(i_img *im, unsigned char (*maps)[256], unsigned int mask) {
   i_color *vals;
   int x, y;
   int i, ch;
-  int minset = -1, maxset;
+  int minset = -1, maxset = 0;
 
   mm_log((1,"i_map(im %p, maps %p, chmask %u)\n", im, maps, mask));