about summary refs log tree commit diff
path: root/lib/ppm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ppm.h')
-rw-r--r--lib/ppm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ppm.h b/lib/ppm.h
index 9fc90bb3..acc70c85 100644
--- a/lib/ppm.h
+++ b/lib/ppm.h
@@ -185,9 +185,9 @@ ppm_freecolornames(const char ** const colornames);
 
 #define PPM_DEPTH(newp,p,oldmaxval,newmaxval) \
     PPM_ASSIGN( (newp), \
-	( (int) PPM_GETR(p) * (newmaxval) + (oldmaxval) / 2 ) / (oldmaxval), \
-	( (int) PPM_GETG(p) * (newmaxval) + (oldmaxval) / 2 ) / (oldmaxval), \
-	( (int) PPM_GETB(p) * (newmaxval) + (oldmaxval) / 2 ) / (oldmaxval) )
+        ( (int) PPM_GETR(p) * (newmaxval) + (oldmaxval) / 2 ) / (oldmaxval), \
+        ( (int) PPM_GETG(p) * (newmaxval) + (oldmaxval) / 2 ) / (oldmaxval), \
+        ( (int) PPM_GETB(p) * (newmaxval) + (oldmaxval) / 2 ) / (oldmaxval) )
 
 #define PPM_SQR(x) (x)*(x)