[GRASS-SVN] r29975 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 6 03:52:37 EST 2008


Author: neteler
Date: 2008-02-06 03:52:37 -0500 (Wed, 06 Feb 2008)
New Revision: 29975

Modified:
   grass/trunk/lib/gis/find_cell.c
   grass/trunk/lib/gis/gislib.dox
   grass/trunk/lib/gis/gisrasterlib.dox
Log:
docs fixes

Modified: grass/trunk/lib/gis/find_cell.c
===================================================================
--- grass/trunk/lib/gis/find_cell.c	2008-02-06 08:43:40 UTC (rev 29974)
+++ grass/trunk/lib/gis/find_cell.c	2008-02-06 08:52:37 UTC (rev 29975)
@@ -43,7 +43,7 @@
 \code
   char name[GNAME_MAX];
   char *mapset;
-  if ((mapset = G_find_cell(name,"")) = = NULL)
+  if ((mapset = G_find_cell(name,"")) == NULL)
   // not found
 \endcode
  *
@@ -51,7 +51,7 @@
  *
 \code
   char name[GNAME_MAX];
-  if (G_find_cell(name,G_mapset( )) = = NULL)
+  if (G_find_cell(name,G_mapset( )) == NULL)
   // not found
 \endcode
  *

Modified: grass/trunk/lib/gis/gislib.dox
===================================================================
--- grass/trunk/lib/gis/gislib.dox	2008-02-06 08:43:40 UTC (rev 29974)
+++ grass/trunk/lib/gis/gislib.dox	2008-02-06 08:52:37 UTC (rev 29975)
@@ -336,7 +336,7 @@
 char *mapset;
 
 mapset = G_ask_old("", name, "paint/labels", "labels");
-if (mapset = = NULL)
+if (mapset == NULL)
     exit(EXIT_SUCCESS); /* user canceled the request */
 \endverbatim
 

Modified: grass/trunk/lib/gis/gisrasterlib.dox
===================================================================
--- grass/trunk/lib/gis/gisrasterlib.dox	2008-02-06 08:43:40 UTC (rev 29974)
+++ grass/trunk/lib/gis/gisrasterlib.dox	2008-02-06 08:52:37 UTC (rev 29975)
@@ -119,7 +119,7 @@
 
 mapset = G_ask_cell_old("Enter raster file to be processed", name);
 
-if (mapset = = NULL)
+if (mapset == NULL)
   return(0);
 \endverbatim
 



More information about the grass-commit mailing list