diff 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
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);
 	}