瀏覽代碼

rasterlib: compress NULL file by default

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71674 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 7 年之前
父節點
當前提交
9328c92a16
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/raster/init.c

+ 1 - 1
lib/raster/init.c

@@ -122,7 +122,7 @@ static int init(void)
     }
 
     nulls = getenv("GRASS_COMPRESS_NULLS");
-    R__.compress_nulls = (nulls && atoi(nulls)) ? 1 : 0;
+    R__.compress_nulls = (nulls && atoi(nulls) == 0) ? 0 : 1;
 
     G_add_error_handler(Rast__error_handler, NULL);