Mercurial > public > mk2
changeset 90:6655b1c59adc
FIX new cf menu BOOL mode: should skip lines 2&3.
author | JeanDo |
---|---|
date | Fri, 10 Dec 2010 02:36:56 +0100 |
parents | e6dc091dba31 |
children | 3bcccb697bce |
files | code_part1/OSTC_code_asm_part1/menu_custom.asm |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_custom.asm Fri Dec 10 15:49:18 2010 +0100 +++ b/code_part1/OSTC_code_asm_part1/menu_custom.asm Fri Dec 10 02:36:56 2010 +0100 @@ -335,8 +335,9 @@ customfunctions2: incf menupos,F - btfss apnoe_mins,0 ; Are we editing a boolean value ? - bra customfunctions2a ; NO : don't skip lines 2/3. + movf cf_type,W ; Are we editing a boolean value ? + xorlw CF_BOOL + bnz customfunctions2a ; NO : don't skip lines 2/3. movlw d'4' ; Just after increment, cpfsgt menupos ; Is current position < 4 ?