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
This commit is contained in:
Heavyiron 2014-09-27 14:26:29 +00:00
parent 5a61e87775
commit 9e2a21eb61

View File

@ -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]