Skip to content

Commit 46de1e8

Browse files
fix(open-dialog): use the correct getcwd function
1 parent c810c77 commit 46de1e8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

open-dialog/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ or [WinZenity][winzenity] and download [zenity_nox.lua][zenity-nox].
4949
[kdialog]: https://github.com/KDE/kdialog
5050
[zenity]: https://github.com/GNOME/zenity
5151
[xdotool]: https://github.com/jordansissel/xdotool
52-
[zenity-nox]: https://git.io/zenity_nox.lua
52+
[zenity-nox]: https://git.io/JeZZL
5353
[brew]: https://formulae.brew.sh/formula/zenity
5454
[ports]: https://ports.macports.org/port/zenity/summary
5555
[windows]: https://github.com/kvaps/zenity-windows

open-dialog/kdialog.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function KDialog(opts)
3737
return function()
3838
local path = mp.get_property('path')
3939
path = path == nil and '' or utils.split_path(
40-
utils.join_path(mp.getcwd(), path)
40+
utils.join_path(utils.getcwd(), path)
4141
)
4242
local ontop = mp.get_property_native('ontop')
4343
local focus = utils.subprocess {

open-dialog/zenity.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function Zenity(opts)
4848
local path = mp.get_property('path')
4949
path = path == nil and {} or {
5050
'--filename', utils.split_path(
51-
utils.join_path(mp.getcwd(), path)
51+
utils.join_path(utils.getcwd(), path)
5252
)
5353
}
5454
local ontop = mp.get_property_native('ontop')

0 commit comments

Comments
 (0)