diff src/logbook.asm @ 225:31088352ee32

BUGFIX: Show dives with >999mins divetime correctly
author heinrichsweikamp
date Sun, 01 Feb 2015 18:49:24 +0100
parents e79bc535ef9e
children ad62dff7739a
line wrap: on
line diff
--- a/src/logbook.asm	Thu Jan 29 18:18:15 2015 +0100
+++ b/src/logbook.asm	Sun Feb 01 18:49:24 2015 +0100
@@ -536,7 +536,7 @@
 	call		convert_mbar_to_feet       	; convert value in lo:hi from mbar to feet
 	PUTC	' '
 	bcf			leftbind
-    output_16_3
+    output_16_3                             ; limit to 999 and display only (0-999)
 	STRCAT_TEXT_PRINT    tFeets
 	bra			display_profile_offset4_common
 
@@ -1466,7 +1466,7 @@
 	call		convert_mbar_to_feet    ; convert value in lo:hi from mbar to feet
 	PUTC	' '
 	bcf			leftbind
-    output_16_3
+    output_16_3                         ; limit to 999 and display only (0-999)
 	STRCAT_TEXT tFeets1
 	bra			display_listdive3