Commit: 8be1a6ba23e07740d3119c90ef464b6a29bb544c
Parent: b5875a24dc00694c6edc8719de0214335fbd62e2
Author: Ren Tatsumoto
Date: Fri, 5 Nov 2021 17:08:29 +0000
Merge pull request #59 from nbelikov/clipboard-fix
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)