Index: src/apps/plugins/pictureflow/pictureflow.c =================================================================== --- src/apps/plugins/pictureflow/pictureflow.c (revision 26241) +++ src/apps/plugins/pictureflow/pictureflow.c (working copy) @@ -2317,7 +2316,7 @@ create_track_index(center_slide.slide_index); reset_track_list(); } - static int titletxt_w, titletxt_x, color, titletxt_h; + static int titletxt_w, titletxt_x, titletxt_h; titletxt_h = rb->screens[SCREEN_MAIN]->getcharheight(); int titletxt_y = track_list_y; @@ -2341,8 +2340,11 @@ MYLCD(putsxy)(titletxt_x,titletxt_y,get_track_name(track_i)); } else { - color = 250 - (abs(selected_track - track_i) * 200 / track_count); - MYLCD(set_foreground)(G_BRIGHT(color)); +#if LCD_DEPTH > 1 + MYLCD(set_foreground)(G_BRIGHT(250 - (abs(selected_track - track_i) * 200 / track_count))); +#else + MYLCD(set_foreground)(G_BRIGHT(250)); +#endif MYLCD(putsxy)(titletxt_x,titletxt_y,get_track_name(track_i)); } titletxt_y += titletxt_h;