aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-04-29 17:59:41 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-04-29 18:00:28 +0200
commit5ea7f8a0e1fc5d6f02fc2d16ef3ef6a2ad20b8ab (patch)
tree2273ea5913c038091df9e290f8a003becf68876f
parentec0b0f6f2db32052c42a252e818117bc25fb8200 (diff)
global-functions: $WaitForFile: drop extra conversion
-rw-r--r--global-functions.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index 9c009ae..e8163ed 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -1521,7 +1521,7 @@
:set FileName [ $CleanFilePath $FileName ];
:local I 1;
- :local Delay ([ :totime [ $MAX [ $EitherOr $WaitTime 2s ] 100ms ] ] / 10);
+ :local Delay ([ $MAX [ $EitherOr $WaitTime 2s ] 100ms ] / 10);
:while ([ :len [ /file/find where name=$FileName ] ] = 0) do={
:if ($I >= 10) do={