diff options
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r-- | apps/bookmark.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index 512fb009ec..b350cccd3a 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c | |||
@@ -186,10 +186,10 @@ bool bookmark_autobookmark(void) | |||
186 | return write_bookmark(false); | 186 | return write_bookmark(false); |
187 | } | 187 | } |
188 | #ifdef HAVE_LCD_BITMAP | 188 | #ifdef HAVE_LCD_BITMAP |
189 | unsigned char *lines[]={str(LANG_AUTO_BOOKMARK_QUERY)}; | 189 | unsigned char *lines[]={ID2P(LANG_AUTO_BOOKMARK_QUERY)}; |
190 | struct text_message message={(char **)lines, 1}; | 190 | struct text_message message={(char **)lines, 1}; |
191 | #else | 191 | #else |
192 | unsigned char *lines[]={str(LANG_AUTO_BOOKMARK_QUERY), | 192 | unsigned char *lines[]={ID2P(LANG_AUTO_BOOKMARK_QUERY), |
193 | str(LANG_CONFIRM_WITH_BUTTON)}; | 193 | str(LANG_CONFIRM_WITH_BUTTON)}; |
194 | struct text_message message={(char **)lines, 2}; | 194 | struct text_message message={(char **)lines, 2}; |
195 | #endif | 195 | #endif |
@@ -244,8 +244,8 @@ static bool write_bookmark(bool create_bookmark_file) | |||
244 | } | 244 | } |
245 | } | 245 | } |
246 | 246 | ||
247 | gui_syncsplash(HZ, str(success ? LANG_BOOKMARK_CREATE_SUCCESS | 247 | gui_syncsplash(HZ, success ? ID2P(LANG_BOOKMARK_CREATE_SUCCESS) |
248 | : LANG_BOOKMARK_CREATE_FAILURE)); | 248 | : ID2P(LANG_BOOKMARK_CREATE_FAILURE)); |
249 | 249 | ||
250 | return true; | 250 | return true; |
251 | } | 251 | } |
@@ -634,7 +634,7 @@ static char* select_bookmark(const char* bookmark_file_name, bool show_dont_resu | |||
634 | if (bookmarks->total_count < 1) | 634 | if (bookmarks->total_count < 1) |
635 | { | 635 | { |
636 | /* No more bookmarks, delete file and exit */ | 636 | /* No more bookmarks, delete file and exit */ |
637 | gui_syncsplash(HZ, str(LANG_BOOKMARK_LOAD_EMPTY)); | 637 | gui_syncsplash(HZ, ID2P(LANG_BOOKMARK_LOAD_EMPTY)); |
638 | remove(bookmark_file_name); | 638 | remove(bookmark_file_name); |
639 | return NULL; | 639 | return NULL; |
640 | } | 640 | } |