fixed path of mysql/errmsg.h (OSX compilation fix)
[NeonServV5.git] / src / tools.c
index 3ad8a41f532600f3b01bbf84169b69d3fdeb875a..daedcd095ae19d28097f8814c1ef7fc362b7e433 100644 (file)
@@ -1,4 +1,4 @@
-/* tools.c - NeonServ v5.5
+/* tools.c - NeonServ v5.6
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -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