From: Kaj-Michael Lang Date: Thu, 1 Nov 2007 16:16:11 +0000 (+0200) Subject: Fix (not tested) speed display leaving old numbers behind X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dc3cdd60d5becf1ca186bf77af98940fbb58cb0;p=mapper Fix (not tested) speed display leaving old numbers behind --- diff --git a/src/speed-display.c b/src/speed-display.c index 9c464f2..593a9b0 100644 --- a/src/speed-display.c +++ b/src/speed-display.c @@ -55,7 +55,7 @@ buffer = g_strdup_printf("%0.0f", cur_speed); pango_layout_set_text(_speed_limit_layout, buffer, -1); pango_layout_get_pixel_size(_speed_limit_layout, &width, &height); -gtk_widget_queue_draw_area(_map_widget, x - 5, y - 5, width + 15, height + 5); +gtk_widget_queue_draw_area(_map_widget, x - 5, y - 5, width * 3 + 15, height + 5); gdk_window_process_all_updates(); switch (_speed_location) {