From 1a788758ed0838b7d019b87bc472663abe9bf43d Mon Sep 17 00:00:00 2001 From: heavyiron Date: Sat, 23 Nov 2013 10:09:40 +0000 Subject: [PATCH] End: fix message when checkbox is disabled git-svn-id: svn://kolibrios.org@4284 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/end/light/end.asm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/programs/system/end/light/end.asm b/programs/system/end/light/end.asm index 9dc412ca3c..810f9a28c8 100644 --- a/programs/system/end/light/end.asm +++ b/programs/system/end/light/end.asm @@ -123,14 +123,17 @@ if fade=1 jne @b call draw_window -else - mov al,4 - mcall ,<50,110> ,0x800000cc,label7 ;eax=4 - write text end if invoke ini_set_int,ini_file,asettings,aautosave,[autosave] cmp [autosave],1 jne no_save + +if fade=0 + mov al,4 + mcall ,<50,110> ,0x800000cc,label7 ;eax=4 - write text +end if + mcall 70,rdsave test eax,eax js no_save