]> git.street.me.uk Git - andy/viking.git/blobdiff - src/garminsymbols.c
Fix drawing of copied MBTiles map layers.
[andy/viking.git] / src / garminsymbols.c
index 1f3f497f146ee85c132b08655238db450a13c5cc..4c7d3f1501616dc05540204bf90995553c01df4c 100644 (file)
@@ -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;
 }