# HG changeset patch
# User Ideenmodellierer
# Date 1611781126 -3600
# Node ID a594a778c88360d11382e9958ac6a5613653ecbf
# Parent  556df4a8f418a83aa59a413c73f788efca216131
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.

diff -r 556df4a8f418 -r a594a778c883 Discovery/Src/show_logbook.c
--- 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);
 	}