Przeglądaj źródła

Call G_quant_init()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33337 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 lat temu
rodzic
commit
19916d93d7
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      raster/r.external/main.c

+ 1 - 0
raster/r.external/main.c

@@ -431,6 +431,7 @@ static void write_fp_quant(const char *output)
 {
     struct Quant quant;
 
+    G_quant_init(&quant);
     G_quant_round(&quant);
 
     if (G_write_quant(output, G_mapset(), &quant) < 0)