diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/rockpaint.c | 2 | ||||
-rw-r--r-- | apps/plugins/text_viewer/tv_menu.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/rockpaint.c b/apps/plugins/rockpaint.c index 4ef139a526..fc4621a805 100644 --- a/apps/plugins/rockpaint.c +++ b/apps/plugins/rockpaint.c | |||
@@ -731,6 +731,7 @@ static bool browse( char *dst, int dst_size, const char *start ) | |||
731 | } | 731 | } |
732 | rb->strcpy( a+1, dc[tree->selected_item].name ); | 732 | rb->strcpy( a+1, dc[tree->selected_item].name ); |
733 | tree->dirfilter = &dirfilter; | 733 | tree->dirfilter = &dirfilter; |
734 | tree->browse = NULL; | ||
734 | while( 1 ) | 735 | while( 1 ) |
735 | { | 736 | { |
736 | if( reload ) | 737 | if( reload ) |
@@ -880,6 +881,7 @@ static bool browse_fonts( char *dst, int dst_size ) | |||
880 | } | 881 | } |
881 | rb->strcpy( a+1, dc[tree->selected_item].name ); | 882 | rb->strcpy( a+1, dc[tree->selected_item].name ); |
882 | tree->dirfilter = &dirfilter; | 883 | tree->dirfilter = &dirfilter; |
884 | tree->browse = NULL; | ||
883 | rb->strcpy( bbuf, FONT_DIR "/" ); | 885 | rb->strcpy( bbuf, FONT_DIR "/" ); |
884 | rb->set_current_file( bbuf ); | 886 | rb->set_current_file( bbuf ); |
885 | 887 | ||
diff --git a/apps/plugins/text_viewer/tv_menu.c b/apps/plugins/text_viewer/tv_menu.c index 1d1e07f3e8..5e79fd469a 100644 --- a/apps/plugins/text_viewer/tv_menu.c +++ b/apps/plugins/text_viewer/tv_menu.c | |||
@@ -234,6 +234,7 @@ static bool tv_font_setting(void) | |||
234 | rb->strlcat(backup.currdir, "/", MAX_PATH); | 234 | rb->strlcat(backup.currdir, "/", MAX_PATH); |
235 | rb->strlcat(backup.currdir, dc[tree->selected_item].name, MAX_PATH); | 235 | rb->strlcat(backup.currdir, dc[tree->selected_item].name, MAX_PATH); |
236 | tree->dirfilter = &dirfilter; | 236 | tree->dirfilter = &dirfilter; |
237 | tree->browse = NULL; | ||
237 | rb->snprintf(font_path, MAX_PATH, "%s/", FONT_DIR); | 238 | rb->snprintf(font_path, MAX_PATH, "%s/", FONT_DIR); |
238 | rb->set_current_file(font_path); | 239 | rb->set_current_file(font_path); |
239 | count = tree->filesindir; | 240 | count = tree->filesindir; |