rnd-19980926
[rocksndiamonds.git] / src / gifload.c
index fc2fc28af8602ee4cb20a2efede6ba6223576cfb..ac64df6aba0a0ce9c79877fda0a4496c1f2a4de1 100644 (file)
@@ -18,7 +18,9 @@
 #include "xli.h"
 
 #ifdef DEBUG
+/*
 #define DEBUG_TIMING
+*/
 #endif
 
 
@@ -51,7 +53,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename,
 #ifdef DEBUG_TIMING
   count2 = Counter();
   printf("   LOADING '%s' IN %.2f SECONDS\n",
-        filename, (float)(count2-count1)/100.0);
+        filename, (float)(count2-count1)/1000.0);
   count1 = Counter();
 #endif
 
@@ -67,7 +69,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename,
 #ifdef DEBUG_TIMING
   count2 = Counter();
   printf("   COMPRESSING IMAGE COLORMAP IN %.2f SECONDS\n",
-        (float)(count2-count1)/100.0);
+        (float)(count2-count1)/1000.0);
   count1 = Counter();
 #endif
 
@@ -85,7 +87,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename,
 #ifdef DEBUG_TIMING
   count2 = Counter();
   printf("   CONVERTING IMAGE TO XIMAGE IN %.2f SECONDS\n",
-        (float)(count2-count1)/100.0);
+        (float)(count2-count1)/1000.0);
   count1 = Counter();
 #endif
 
@@ -102,7 +104,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename,
 #ifdef DEBUG_TIMING
   count2 = Counter();
   printf("   CONVERTING IMAGE TO PIXMAP IN %.2f SECONDS\n",
-        (float)(count2-count1)/100.0);
+        (float)(count2-count1)/1000.0);
   count1 = Counter();
 #endif
 
@@ -112,7 +114,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename,
 #ifdef DEBUG_TIMING
   count2 = Counter();
   printf("   CONVERTING IMAGE TO MASK IN %.2f SECONDS\n",
-        (float)(count2-count1)/100.0);
+        (float)(count2-count1)/1000.0);
   count1 = Counter();
 #endif
 
@@ -127,7 +129,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename,
 #ifdef DEBUG_TIMING
   count2 = Counter();
   printf("   CONVERTING MASK TO XIMAGE IN %.2f SECONDS\n",
-        (float)(count2-count1)/100.0);
+        (float)(count2-count1)/1000.0);
   count1 = Counter();
 #endif
 
@@ -141,7 +143,7 @@ int Read_GIF_to_Pixmaps(Display *display, Window window, char *filename,
 #ifdef DEBUG_TIMING
   count2 = Counter();
   printf("   CONVERTING MASK TO PIXMAP IN %.2f SECONDS\n",
-        (float)(count2-count1)/100.0);
+        (float)(count2-count1)/1000.0);
   count1 = Counter();
 #endif