浏览代码

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 11 年之前
父节点
当前提交
013925ac54
共有 1 个文件被更改,包括 2 次插入2 次删除
  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,