summaryrefslogtreecommitdiff
path: root/navit/osd
diff options
context:
space:
mode:
authorwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-12-16 15:30:43 +0000
committerwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-12-16 15:30:43 +0000
commit1477339c6ecbdef42d3b3f0fb77a02d08ee6bc1a (patch)
tree6d322b19d184c7bee7909f70c65892e619a01c91 /navit/osd
parentab5e2da3b6bca292c280abc70b27abdbd5c4a741 (diff)
downloadnavit-svn-1477339c6ecbdef42d3b3f0fb77a02d08ee6bc1a.tar.gz
Fix:xpm: replace unknown.xpm with nicer unknown.svg, had to edit the svg to set non float width and height to make rsvg happy, closes ticket #976, thanks to sleske
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4860 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/osd')
-rw-r--r--navit/osd/core/osd_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/osd/core/osd_core.c b/navit/osd/core/osd_core.c
index 37057724..ff91c2f6 100644
--- a/navit/osd/core/osd_core.c
+++ b/navit/osd/core/osd_core.c
@@ -1720,7 +1720,7 @@ osd_nav_next_turn_draw(struct osd_priv_common *opc, struct navit *navit,
if (!gr_image) {
dbg(0,"failed to load %s in %dx%d\n",image,this->icon_w,this->icon_h);
g_free(image);
- image = graphics_icon_path("unknown.xpm");
+ image = graphics_icon_path("unknown.png");
gr_image =
graphics_image_new_scaled(opc->
osd_item.gr,
@@ -1863,7 +1863,7 @@ osd_nav_toggle_announcer_draw(struct osd_priv_common *opc, struct navit *navit,
if (!gr_image)
{
g_free(path);
- path = graphics_icon_path("unknown.xpm");
+ path = graphics_icon_path("unknown.png");
gr_image = graphics_image_new_scaled(opc->osd_item.gr, path, this->icon_w, this->icon_h);
}