Browse Source

r.reclass: allow using more than 100 rules

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70847 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 8 years ago
parent
commit
3f9ea4600b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      raster/r.reclass/parse.c

+ 1 - 1
raster/r.reclass/parse.c

@@ -17,7 +17,7 @@ int parse(const char *line, RULE ** rules, RULE ** tail, struct Categories *cats
     const char *label;
     const char *save;
     CELL v;
-    CELL lo[100], hi[100], new = (CELL) 0;
+    CELL lo[1024], hi[1024], new = (CELL) 0;
     int count;
     int i, last_null = 0;