about summary refs log tree commit diff
path: root/converter/other/pamtohtmltbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pamtohtmltbl.c')
-rw-r--r--converter/other/pamtohtmltbl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/converter/other/pamtohtmltbl.c b/converter/other/pamtohtmltbl.c
index 293badcb..0afbfea0 100644
--- a/converter/other/pamtohtmltbl.c
+++ b/converter/other/pamtohtmltbl.c
@@ -180,9 +180,15 @@ allocOutputtedArray(unsigned int const width, unsigned int const height) {
         pm_error("Unable to allocate space for 'outputted' array");
 
     for (row = 0; row < height; ++row) {
+        unsigned int col;
+
         MALLOCARRAY(outputted[row], width);
         if (outputted[row] == NULL)
             pm_error("Unable to allocate space for 'outputted' array");
+
+        for (col = 0; col < width ; ++col)
+          outputted[row][col] = FALSE;
+
     }
     return outputted;
 }