Annotation of ports/geo/viking/patches/patch-src_gpspoint_c, Revision 1.1.1.1
1.1 yason 1: $OpenBSD$
2: --- src/gpspoint.c.orig Sun Feb 8 16:47:01 2009
3: +++ src/gpspoint.c Thu Jun 11 22:09:27 2009
4: @@ -81,8 +81,9 @@ static gdouble line_altitude = VIK_DEFAULT_ALTITUDE;
5: static gboolean line_visible = TRUE;
6:
7: static gboolean line_extended = FALSE;
8: -static gdouble line_speed = NAN;
9: -static gdouble line_course = NAN;
10: +/* I'm not shure this is a good way of doing things */
11: +static gdouble line_speed = 0;
12: +static gdouble line_course = 0;
13: static gint line_sat = 0;
14: static gint line_fix = 0;
15: /* other possible properties go here */
16: @@ -293,8 +294,9 @@ void a_gpspoint_read_file(VikTrwLayer *trw, FILE *f )
17: line_symbol = NULL;
18:
19: line_extended = FALSE;
20: - line_speed = NAN;
21: - line_course = NAN;
22: +/* I'm not shure this is a good way of doing things */
23: + line_speed = 0;
24: + line_course = 0;
25: line_sat = 0;
26: line_fix = 0;
27: }
CVSweb