Browse Source

Fix for split window (from Markus Metz)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42967 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 14 years ago
parent
commit
cb6c269603
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/raster/get_row.c

+ 1 - 1
lib/raster/get_row.c

@@ -927,7 +927,7 @@ static void get_null_value_row_nomask(int fd, char *flags, int row)
 static void get_null_value_row_gdal(int fd, char *flags, int row)
 {
     struct fileinfo *fcb = &R__.fileinfo[fd];
-    DCELL *tmp_buf = Rast_allocate_d_buf();
+    DCELL *tmp_buf = Rast_allocate_d_input_buf();
     int i;
 
     if (get_map_row_nomask(fd, tmp_buf, row, DCELL_TYPE) <= 0) {