Browse Source

libraster: minor msg and doxygen backports

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@61805 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 years ago
parent
commit
62d8a55ae4
3 changed files with 2 additions and 5 deletions
  1. 1 1
      lib/raster/color_range.c
  2. 1 1
      lib/raster/get_cellhd.c
  3. 0 3
      lib/raster/window.c

+ 1 - 1
lib/raster/color_range.c

@@ -75,7 +75,7 @@ void Rast_get_c_color_range(CELL * min, CELL * max,
 }
 }
 
 
 /*!
 /*!
-   \brief Get color range values (DELL)
+   \brief Get color range values (DCELL)
 
 
    Returns min and max category in the range or huge numbers if the
    Returns min and max category in the range or huge numbers if the
    color table is defined on floating cell values and not on
    color table is defined on floating cell values and not on

+ 1 - 1
lib/raster/get_cellhd.c

@@ -63,7 +63,7 @@ void Rast_get_cellhd(const char *name, const char *mapset,
     if (is_reclass) {
     if (is_reclass) {
 	fp = G_fopen_old("cellhd", real_name, real_mapset);
 	fp = G_fopen_old("cellhd", real_name, real_mapset);
 	if (!fp)
 	if (!fp)
-	    G_fatal_error(_("Unable to read header file for raster map <%s@%s>."
+	    G_fatal_error(_("Unable to read header file for raster map <%s@%s>. "
 			    "It is a reclass of raster map <%s@%s> %s"),
 			    "It is a reclass of raster map <%s@%s> %s"),
 			  name, mapset, real_name, real_mapset,
 			  name, mapset, real_name, real_mapset,
 			  !G_find_raster(real_name, real_mapset)
 			  !G_find_raster(real_name, real_mapset)

+ 0 - 3
lib/raster/window.c

@@ -223,9 +223,6 @@ double Rast_easting_to_col(double east, const struct Cell_head *window)
  *  - row+0.5 will return the northing for the center of the row.
  *  - row+0.5 will return the northing for the center of the row.
  *  - row+1.0 will return the northing for the southern edge of the row.
  *  - row+1.0 will return the northing for the southern edge of the row.
  *
  *
- * <b>Note:</b> The result is a <i>double</i>. Casting it to an
- * <i>int</i> will give the column number.
- *
  * \param row row number
  * \param row row number
  * \param[in] window pointer to Cell_head
  * \param[in] window pointer to Cell_head
  *
  *