comparison Discovery/Src/show_logbook.c @ 616:a594a778c883

Development bugfix: show replay symbol only for the selected dive: In the previous version the replay icon was shown in all logs, independend if the entry was the selected one or not. This has been fixed now.
author Ideenmodellierer
date Wed, 27 Jan 2021 21:58:46 +0100
parents ae7f8333c900
children 2586f7b734f4
comparison
equal deleted inserted replaced
615:556df4a8f418 616:a594a778c883
675 Gfx_write_label_var(hgfx,320,600,440, &FontT42,CLUT_GasSensor1,text); 675 Gfx_write_label_var(hgfx,320,600,440, &FontT42,CLUT_GasSensor1,text);
676 676
677 677
678 /* show symbol in case log entry is marked for usage in profile custom view */ 678 /* show symbol in case log entry is marked for usage in profile custom view */
679 snprintf(text,10,"\002>"); 679 snprintf(text,10,"\002>");
680 if(0xFFFF != getReplayOffset()) 680 if(StepBackwards == getReplayOffset())
681 { 681 {
682 Gfx_write_label_var(hgfx,750,799,440, &FontT42,CLUT_GasSensor1,text); 682 Gfx_write_label_var(hgfx,750,799,440, &FontT42,CLUT_GasSensor1,text);
683 } 683 }
684 else 684 else
685 { 685 {