fixed table functions (color code space)
authorpk910 <philipp@zoelle1.de>
Mon, 20 Aug 2012 23:11:37 +0000 (01:11 +0200)
committerpk910 <philipp@zoelle1.de>
Mon, 20 Aug 2012 23:11:37 +0000 (01:11 +0200)
src/tools.c

index 3ad8a41f532600f3b01bbf84169b69d3fdeb875a..23f3b59efaa194eb7ea2d9ee4582a3ba8fd1cf65 100644 (file)
@@ -204,7 +204,7 @@ char **table_end(struct Table *table) {
                     if(table->contents[row][col][i] == '\002') j++;
                     else if(table->contents[row][col][i] == '\003') {
                         j++;
-                        for(k = 1; k < 2; k++) {
+                        for(k = 1; k <= 2; k++) {
                             if(isdigit(table->contents[row][col][i+k]))
                                 j++;
                             else