changeset 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 556df4a8f418
children 4eba86129d35
files Discovery/Src/show_logbook.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/show_logbook.c	Wed Jan 27 21:56:48 2021 +0100
+++ b/Discovery/Src/show_logbook.c	Wed Jan 27 21:58:46 2021 +0100
@@ -677,7 +677,7 @@
 
 /* show symbol in case log entry is marked for usage in profile custom view */
 	snprintf(text,10,"\002>");
-	if(0xFFFF != getReplayOffset())
+	if(StepBackwards == getReplayOffset())
 	{
 		 Gfx_write_label_var(hgfx,750,799,440, &FontT42,CLUT_GasSensor1,text);
 	}