1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/player/lua
Dudemanguy fcc67cc6c1 lua: remove a ton of unneeded parentheses
For whatever reason, some of the lua code (particularly the osc and
ytdl_hook) is full of a bunch of stuff like if (foo), if not (foo ==
nil), etc. The parenthesis aren't needed in lua and actually just look
weird since nobody actually writes lua like this. You can see most of
the other conditionals are written normally. So cleanup the style to
match when the parenthesis clearly aren't doing anything. Not directly
related, but also add some spaces on a few math operations while we're
at it.
2023-11-02 16:03:20 +00:00
..
assdraw.lua
auto_profiles.lua auto_profiles: try to distinguish invalid properties better 2023-04-07 01:48:55 +00:00
console.lua console.lua: complete file paths 2023-11-02 14:58:28 +00:00
defaults.lua lua: remove a ton of unneeded parentheses 2023-11-02 16:03:20 +00:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
options.lua lua: remove a ton of unneeded parentheses 2023-11-02 16:03:20 +00:00
osc.lua lua: remove a ton of unneeded parentheses 2023-11-02 16:03:20 +00:00
stats.lua lua: remove a ton of unneeded parentheses 2023-11-02 16:03:20 +00:00
ytdl_hook.lua lua: remove a ton of unneeded parentheses 2023-11-02 16:03:20 +00:00