فهرست منبع

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 سال پیش
والد
کامیت
3f9ea4600b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;