summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps.c')
-rw-r--r--apps/gui/gwps.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index e7ae67266f..d7d436c089 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -862,7 +862,6 @@ bool wps_data_load(struct wps_data *wps_data,
862 wps_data->img_buf_ptr = wps_data->img_buf; /* where in image buffer */ 862 wps_data->img_buf_ptr = wps_data->img_buf; /* where in image buffer */
863 863
864 wps_data->img_buf_free = IMG_BUFSIZE; /* free space in image buffer */ 864 wps_data->img_buf_free = IMG_BUFSIZE; /* free space in image buffer */
865 wps_initialize_bmp_cache(ROCKBOX_DIR "/.wpscache");
866#endif 865#endif
867 while( ( read_line(fd, &wps_data->format_buffer[start], 866 while( ( read_line(fd, &wps_data->format_buffer[start],
868 sizeof(wps_data->format_buffer)-start) ) > 0 ) 867 sizeof(wps_data->format_buffer)-start) ) > 0 )
@@ -881,10 +880,6 @@ bool wps_data_load(struct wps_data *wps_data,
881 } 880 }
882 } 881 }
883 882
884#ifdef HAVE_LCD_BITMAP
885 wps_close_bmp_cache(ROCKBOX_DIR "/.wpscache");
886#endif
887
888 if (start > 0) 883 if (start > 0)
889 { 884 {
890 gui_wps_format(wps_data); 885 gui_wps_format(wps_data);