changeset 823:1a64088b49d3

Fix minor layout bugs in surface mode (CNS and GF display)
author heinrichsweikamp
date Mon, 22 Jun 2015 09:58:33 +0200
parents fe0fbdc31abe
children 6cb5518e74d2
files code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/outputs.asm
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Thu Jun 18 18:06:41 2015 +0200
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Mon Jun 22 09:58:33 2015 +0200
@@ -1,7 +1,7 @@
 New in 3.04:
 Beta Release
 BUGFIX: Fix licence in German
-BUGFIX: Fix minor layout bug in surface mode
+BUGFIX: Fix minor layout bugs in surface mode
 NEW: Auto Setpoint switch function (CC Modes)
 
 New in 3.03:
--- a/code_part1/OSTC_code_asm_part1/outputs.asm	Thu Jun 18 18:06:41 2015 +0200
+++ b/code_part1/OSTC_code_asm_part1/outputs.asm	Mon Jun 22 09:58:33 2015 +0200
@@ -4221,7 +4221,10 @@
 	bsf		leftbind
 	output_8
 	bcf		leftbind
-	STRCAT_PRINT "% "
+	STRCAT  "% "
+    movlw   .0
+    movff   WREG,letter+.8          ; Limit to 8 chars
+    STRCAT_PRINT  ""
 	return
 
 ;-----------------------------------------------------------------------------
@@ -4243,7 +4246,10 @@
         STRCPY  TXT_GF3
         movff   char_O_gradient_factor,lo		; gradient factor
         output_8
-        STRCAT_PRINT  "%  "
+        STRCAT  "%  "
+        movlw   .0
+        movff   WREG,letter+.8          ; Limit to 8 chars
+        STRCAT_PRINT  ""
         goto    DISP_standard_color
 
 ;-----------------------------------------------------------------------------