Commit: 1e9300a444d5211c40926a4425061c68baed848f
Parent: b5875a24dc00694c6edc8719de0214335fbd62e2
Author: Nikolay Belikov
Date: Fri, 5 Nov 2021 20:02:24 +0300
Fix incorrect redirect
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -826,7 +826,7 @@ local function init_platform_windows()
self.copy_to_clipboard = function(text)
text = text:gsub("&", "^^^&"):gsub("[<>|]", "")
- mp.commandv("run", "cmd.exe", "/d", "/c", string.format("@echo off & chcp 65001 >null & echo %s|clip", text))
+ mp.commandv("run", "cmd.exe", "/d", "/c", string.format("@echo off & chcp 65001 >nul & echo %s|clip", text))
end
self.curl_request = function(request_json, completion_fn)