forked from KolibriOS/kolibrios
@ss: if no program set then exit
appearance: show timeout of ss, now you can set screensaver ndn: new version by CandyMan (no screen blinking on app run, no ".." in the root of /cd disks) fnav: pack images, add tup file to kpack readme (I hope this won't fail) git-svn-id: svn://kolibrios.org@9489 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -21,6 +21,10 @@ start:
|
||||
test eax, eax
|
||||
jnz exit
|
||||
|
||||
invoke ini.get_str, ini_file, ini_section, ini_key_program, ini_program_buf, ini_program_buf.size, 0
|
||||
cmp [ini_program_buf], 0 ; if nothing set then exit
|
||||
je exit
|
||||
|
||||
invoke ini.get_int, ini_file, ini_section, ini_key_timeout, DEFAULT_TIMEOUT_MINS
|
||||
imul eax, 60*100 ; cs
|
||||
mov [timeout], eax
|
||||
|
||||
Reference in New Issue
Block a user