Browse Source

stray whitespace (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55168 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 12 years ago
parent
commit
eca206bf3a
7 changed files with 13 additions and 14 deletions
  1. 1 1
      ps/ps.map/box.c
  2. 0 1
      ps/ps.map/do_grid.c
  3. 0 1
      ps/ps.map/do_header.c
  4. 2 2
      ps/ps.map/getgrid.c
  5. 1 1
      ps/ps.map/map_setup.c
  6. 2 1
      ps/ps.map/ps_outline.c
  7. 7 7
      ps/ps.map/r_header.c

+ 1 - 1
ps/ps.map/box.c

@@ -16,7 +16,7 @@ int box_clip(double t, double b, double l, double r)
 {
     box_path(t, b, l, r);
     fprintf(PS.fp, "clip newpath\n");
-    
+
     return 0;
 }
 

+ 0 - 1
ps/ps.map/do_grid.c

@@ -6,7 +6,6 @@
  */
 #include <string.h>
 #include <math.h>
-
 #include "local_proto.h"
 
 #define LEFT 0

+ 0 - 1
ps/ps.map/do_header.c

@@ -7,7 +7,6 @@
 #include <string.h>
 #include <grass/raster.h>
 #include "header.h"
-
 #include "local_proto.h"
 
 static double x, y, dy, fontsize;

+ 2 - 2
ps/ps.map/getgrid.c

@@ -60,7 +60,7 @@ int getgrid(void)
 		/* unset_color(&color); */
 		error(key, data, _("Unsupported color request"));
 	    else
-		error(key, data, _("illegal color request")); 
+		error(key, data, _("illegal color request"));
 
 	    continue;
 	}
@@ -170,7 +170,7 @@ int getgeogrid(void)
 		/* unset_color(&color); */
 		error(key, data, _("Unsupported color request"));
 	    else
-		error(key, data, _("illegal color request")); 
+		error(key, data, _("illegal color request"));
 
 	    continue;
 	}

+ 1 - 1
ps/ps.map/map_setup.c

@@ -106,7 +106,7 @@ int map_setup(void)
 
     /* save original graphics state */
     fprintf(PS.fp, "gsave ");
-    
+
     /* compute conversion factor from meters to PostScript window coordinates */
     /*
        G_begin_distance_calculations();

+ 2 - 1
ps/ps.map/ps_outline.c

@@ -86,7 +86,7 @@ int read_outline(void)
 		/* unset_color(&color); */
 		error(key, data, _("Unsupported color request"));
 	    else
-		error(key, data, _("illegal color request")); 
+		error(key, data, _("illegal color request"));
 
 	    continue;
 	}
@@ -106,6 +106,7 @@ int read_outline(void)
 
 	error(key, data, _("illegal outline sub-request"));
     }
+
     PS.outline_color = color;
     PS.do_outline = 1;
 

+ 7 - 7
ps/ps.map/r_header.c

@@ -58,13 +58,13 @@ int read_header(void)
 
 	if (KEY("color")) {
 	    ret = G_str_to_color(data, &r, &g, &b);
-            if (ret == 1)
-                set_color(&color, r, g, b);
-            else if (ret == 2)  /* i.e. "none" */
-                /* unset_color(&color); */
-                error(key, data, _("Unsupported color request"));
-            else
-                error(key, data, _("illegal color request")); 
+	    if (ret == 1)
+		set_color(&color, r, g, b);
+	    else if (ret == 2)  /* i.e. "none" */
+		/* unset_color(&color); */
+		error(key, data, _("Unsupported color request"));
+	    else
+		error(key, data, _("illegal color request"));
 
 	    continue;
 	}