diff options
author | 2008-12-10 21:25:25 -0500 | |
---|---|---|
committer | 2008-12-10 21:25:25 -0500 | |
commit | 54bd520f6085f4e4c04574167bdcc29aa9cc71c5 (patch) | |
tree | a031f74fadd5a5c4f38684630ae5ddfa0d85e5c7 | |
parent | 06a9032613b7edc3a8766e8a3841258ddcd3b923 (diff) | |
download | textadept-54bd520f6085f4e4c04574167bdcc29aa9cc71c5.tar.gz textadept-54bd520f6085f4e4c04574167bdcc29aa9cc71c5.zip |
Fix cancelling CocoaDialog bug; core/init.lua
-rw-r--r-- | core/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/init.lua b/core/init.lua index 84c0d4d6..95b7c0cc 100644 --- a/core/init.lua +++ b/core/init.lua @@ -53,7 +53,7 @@ function cocoa_dialog(kind, opts) else local cocoa_dialog = '/CocoaDialog.app/Contents/MacOS/CocoaDialog ' local p = io.popen(_HOME..cocoa_dialog..kind..args) - local out = p:read('*all') + local out = p:read('*all') or '' p:close() return out end |