Explorar o código

rasterlib: compress NULL file by default

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71674 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz %!s(int64=7) %!d(string=hai) anos
pai
achega
9328c92a16
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);