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 23:02:48 +0200
commiteae8dbbb378dbfe43c83e77529895747da0e260e (patch)
tree25f7378a5d266aa870d39773180a795fa7202ed7
parent517ed7bf8cefe47e6c409915a4b27384f081715d (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={