X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/dade5f874b05c2263bbbe668a77021d487b0761b..9cdc601fa56a10312099cfabd16b5c8d628a0e67:/src/garminsymbols.c?ds=sidebyside diff --git a/src/garminsymbols.c b/src/garminsymbols.c index 029b26fb..4c7d3f15 100644 --- a/src/garminsymbols.c +++ b/src/garminsymbols.c @@ -114,7 +114,7 @@ static struct { { "Mine", "mine", 174, "mine symbol", &wp_mine_pixbuf, &wp_mine_large_pixbuf, NULL }, { "Trail Head", "trail_head", 175, "trail head symbol", NULL, &wp_trail_head_large_pixbuf, NULL }, { "Truck Stop", "truck_stop", 176, "truck stop symbol", NULL, &wp_truck_stop_large_pixbuf, NULL }, - { "Exit", "user_exit", 177, "user exit symbol", NULL, NULL, NULL }, + { "Exit", "user_exit", 177, "user exit symbol", NULL, &wp_exit_large_pixbuf, NULL }, { "Flag", "flag", 178, "flag symbol", &wp_flag_pixbuf, NULL, NULL }, { "Circle with X", "circle_x", 179, "circle with x in the center", NULL, NULL, NULL }, { "Open 24 Hours", "open_24hr", 180, "open 24 hours symbol", NULL, NULL, NULL }, @@ -299,7 +299,7 @@ static struct { { "Intersection", "int", 16385, "intersection symbol", NULL, NULL, NULL }, { "Non-directional beacon", "ndb", 16386, "non-directional beacon symbol", NULL, NULL, NULL }, { "VHF Omni-range", "vor", 16387, "VHF omni-range symbol", NULL, NULL, NULL }, - { "Heliport", "heliport", 16388, "heliport symbol", NULL, NULL, NULL }, + { "Heliport", "heliport", 16388, "heliport symbol", NULL, &wp_helipad_large_pixbuf, NULL }, { "Private Field", "private", 16389, "private field symbol", NULL, NULL, NULL }, { "Soft Field", "soft_fld", 16390, "soft field symbol", NULL, NULL, NULL }, { "Tall Tower", "tall_tower", 16391, "tall tower symbol", NULL, &wp_tall_tower_large_pixbuf, NULL }, @@ -419,6 +419,8 @@ const gchar *a_get_hashed_sym ( const gchar *sym ) { } if (g_hash_table_lookup_extended(icons, sym, &x, &gp)) return garmin_syms[GPOINTER_TO_INT(gp)].sym; + else if (g_hash_table_lookup_extended(old_icons, sym, &x, &gp)) + return garmin_syms[GPOINTER_TO_INT(gp)].sym; else return NULL; }