summaryrefslogtreecommitdiff
path: root/navit/bookmarks.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/bookmarks.c')
-rw-r--r--navit/bookmarks.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/bookmarks.c b/navit/bookmarks.c
index 7b9e74ab8..3bc7caa4b 100644
--- a/navit/bookmarks.c
+++ b/navit/bookmarks.c
@@ -108,6 +108,10 @@ struct item* bookmarks_get_item(struct bookmarks* this_) {
return ret;
}
+char* bookmarks_item_cwd(struct bookmarks* this_) {
+ return this_->current->label;
+}
+
static void bookmarks_clear_item(struct bookmark_item_priv *b_item) {
b_item->children=g_list_first(b_item->children);
while(b_item->children) {