? wps ? read-zip.zip ? build ? flicker-fix.patch ? flicker-fix-test.patch ? remote-settings.patch ? tools/rdf2binary ? tools/mkboot ? tools/codepages Index: apps/gui/gwps-common.c =================================================================== RCS file: /cvsroot/rockbox/apps/gui/gwps-common.c,v retrieving revision 1.20 diff -u -r1.20 gwps-common.c --- apps/gui/gwps-common.c 13 Dec 2005 00:38:53 -0000 1.20 +++ apps/gui/gwps-common.c 13 Dec 2005 18:26:49 -0000 @@ -1208,7 +1208,7 @@ data->img[n].y, data->img[n].w, data->img[n].h); } -static void wps_display_images(struct gui_wps *gwps, bool always) +static void wps_display_images(struct gui_wps *gwps/*, bool always*/) { if(!gwps || !gwps->data || !gwps->display) return; int n; @@ -1216,8 +1216,8 @@ struct screen *display = gwps->display; for (n = 0; n < MAX_IMAGES; n++) { if (data->img[n].loaded) { - if( (!always && data->img[n].display) - || (always && data->img[n].always_display) ) + if( (/* !always && */ data->img[n].display) + /*|| (always && data->img[n].always_display)*/ ) wps_draw_image(gwps, n); } } @@ -1649,16 +1649,21 @@ } } } -#ifdef HAVE_LCD_BITMAP +/*#ifdef HAVE_LCD_BITMAP if (update_line) { wps_display_images(gwps,false); } -#endif +#endif*/ } #ifdef HAVE_LCD_BITMAP /* Display all images */ - wps_display_images(gwps,true); + for (i = 0; i < MAX_IMAGES; i++) + { + if(data->img[i].always_display) + data->img[i].display = true; + } + wps_display_images(gwps); display->update(); /* Now we know wether the peak meter is used. So we can enable / disable the peak meter thread */