Skip to content

Commit

Permalink
red: fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeping committed Oct 9, 2024
1 parent e7c6fb3 commit da2ce30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/apps/red.lua
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ local io_delim = {

function win:save()
if not self.buf:isfile() then
return
return false, "Buffer is not writable file"
end
local trim = self:getconf 'trim_spaces'
if trim then
Expand Down

0 comments on commit da2ce30

Please sign in to comment.