]> err.no Git - mapper/commitdiff
Use g_snprintf
authorKaj-Michael Lang <milang@onion.tal.org>
Tue, 15 Jan 2008 15:01:45 +0000 (17:01 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Tue, 15 Jan 2008 15:01:45 +0000 (17:01 +0200)
src/track.c

index f6194c54f95dea0ed4cfdbda21a958ed347606c9..4cb8ea8eafcbe23a23aba18ade589d69293d5619 100644 (file)
@@ -80,7 +80,7 @@ gfloat sum;
 
 sum = track_calculate_distance_from(point);
 
-snprintf(buffer, sizeof(buffer), "%s: %.02f %s", _("Distance"),
+g_snprintf(buffer, sizeof(buffer), "%s: %.02f %s", _("Distance"),
         sum * UNITS_CONVERT[_units], UNITS_TEXT[_units]);
 MACRO_BANNER_SHOW_INFO(_window, buffer);
 }