From 35b06c8fa1cd7e06fdf30782c389b3bd46dce3c7 Mon Sep 17 00:00:00 2001 From: pk910 Date: Tue, 21 Aug 2012 01:11:37 +0200 Subject: [PATCH] fixed table functions (color code space) --- src/tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools.c b/src/tools.c index 3ad8a41..23f3b59 100644 --- a/src/tools.c +++ b/src/tools.c @@ -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 -- 2.20.1