Explorar o código

Correcting wrong variable declaration (fixing https://trac.osgeo.org/grass/ticket/2308)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60438 15284696-431f-4ddb-bdfa-cd5b030d7da7
Moritz Lennert %!s(int64=11) %!d(string=hai) anos
pai
achega
013925ac54
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      display/d.vect/lines.c

+ 2 - 2
display/d.vect/lines.c

@@ -37,7 +37,7 @@ struct rgb_color palette[16] = {
 static int draw_line(int, int, int,
 		     const struct line_pnts *, const struct line_cats *,
 		     const struct color_rgb *, const struct color_rgb *, int,
-		     const char *, int, int,
+		     const char *, double, int,
 		     int, int,
 		     int, double,
 		     struct Colors *,
@@ -194,7 +194,7 @@ int display_lines(struct Map_info *Map, int type, struct cat_list *Clist,
 int draw_line(int type, int ltype, int line,
 	      const struct line_pnts *Points, const struct line_cats *Cats,
 	      const struct color_rgb *color, const struct color_rgb *fcolor, int chcat,
-	      const char *symbol_name, int size, int sqrt_flag,
+	      const char *symbol_name, double size, int sqrt_flag,
 	      int id_flag, int cats_color_flag,
 	      int default_width, double width_scale,
 	      struct Colors *zcolors,