summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Guenther <dguenther9@gmail.com>2020-07-31 17:09:56 -0700
committeravih <avih@users.noreply.github.com>2020-08-01 15:02:39 +0300
commitb238897614ae016401d4c118ec6eb10fa5717f9b (patch)
treef63783eb6cc9e36fd9b2d69424093d21fb002207
parent10e11834e5a5c1dbadccb020bd98504109e5bca2 (diff)
downloadmpv-b238897614ae016401d4c118ec6eb10fa5717f9b.tar.bz2
mpv-b238897614ae016401d4c118ec6eb10fa5717f9b.tar.xz
ytdl_hook: fix typo in unexpected error message
-rw-r--r--player/lua/ytdl_hook.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua
index be34ec7d6c..7ee1dc3145 100644
--- a/player/lua/ytdl_hook.lua
+++ b/player/lua/ytdl_hook.lua
@@ -761,7 +761,7 @@ function run_ytdl_hook(url)
if result.error_string and result.error_string == "init" then
err = err .. "not found or not enough permissions"
elseif not result.killed_by_us then
- err = err .. "unexpected error ocurred"
+ err = err .. "unexpected error occurred"
else
err = string.format("%s returned '%d'", err, es)
end