[GRASS-SVN] r39987 - grass/branches/develbranch_6/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 14 00:21:56 EST 2009


Author: hamish
Date: 2009-12-14 00:21:56 -0500 (Mon, 14 Dec 2009)
New Revision: 39987

Modified:
   grass/branches/develbranch_6/lib/gis/clicker.c
Log:
make compatible with G_info_format()

Modified: grass/branches/develbranch_6/lib/gis/clicker.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/clicker.c	2009-12-14 05:14:39 UTC (rev 39986)
+++ grass/branches/develbranch_6/lib/gis/clicker.c	2009-12-14 05:21:56 UTC (rev 39987)
@@ -7,15 +7,17 @@
  * 
  */
 #include <stdio.h>
+#include <grass/gis.h>
 
 static int G_clicker_prev = 0;
 
 int G_clicker(void)
 {
-    int x;
+    int x, format;
     static char clicks[] = "|/-\\";
 
     /* be verbose only 1> */
+    format = G_info_format();
     if (format == G_INFO_FORMAT_SILENT || G_verbose() < 1)
         return 0;
 



More information about the grass-commit mailing list