Explorar o código

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á %!s(int64=8) %!d(string=hai) anos
pai
achega
3f9ea4600b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;