From 9e2a21eb61149577706c9a738abc1b9bba68641a Mon Sep 17 00:00:00 2001 From: Heavyiron Date: Sat, 27 Sep 2014 14:26:29 +0000 Subject: [PATCH] RDsave: dynamic system colors; fixed saving to rd/1/ when type filename without path in params git-svn-id: svn://kolibrios.org@5142 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/rdsave/trunk/rdsave.asm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/programs/system/rdsave/trunk/rdsave.asm b/programs/system/rdsave/trunk/rdsave.asm index dc347ffa0d..b97858beee 100644 --- a/programs/system/rdsave/trunk/rdsave.asm +++ b/programs/system/rdsave/trunk/rdsave.asm @@ -42,7 +42,6 @@ include 'str.inc' align 4 START: ;--------------------------------------------------------------------- - mcall 48,3,sc,sizeof.system_colors mcall 68,11 load_libraries l_libs_start,end_l_libs @@ -199,7 +198,9 @@ doit: cmp byte[ecx+1],'r' je @f cmp byte[ecx+1],'R' - jne not_rd + je @f + cmp byte[ecx],'/' + je not_rd @@: mov edx,rdError call print_err @@ -334,6 +335,7 @@ stdcall _lstrlen,check_dir ;--- Draw window --------------------------------------------------- ;--------------------------------------------------------------------- draw_window: + mcall 48,3,sc,sizeof.system_colors mcall 12,1 mov edx,[sc.work]