about summary refs log tree commit diff
path: root/converter/other/pamtogif.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pamtogif.c')
-rw-r--r--converter/other/pamtogif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/converter/other/pamtogif.c b/converter/other/pamtogif.c
index e1f5f85b..81e8edb4 100644
--- a/converter/other/pamtogif.c
+++ b/converter/other/pamtogif.c
@@ -1660,7 +1660,8 @@ colormapFromFile(char               const filespec[],
 
     pm_message("computing other colormap ...");
     
-    pnm_computetuplefreqtable(mapPamP, colors, maxcolors, &colorCount);
+    *tupletableP =
+        pnm_computetuplefreqtable(mapPamP, colors, maxcolors, &colorCount);
 
     *colorCountP = colorCount;