Skip to content

Commit dfdaca7

Browse files
authored
Merge pull request #110 from freshprince/no-spaces
replace spaces in buffer names with underscore
2 parents a8e4ce0 + d0e5f1c commit dfdaca7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

matrix.lua

+1
Original file line numberDiff line numberDiff line change
@@ -1781,6 +1781,7 @@ function Room:SetName(name)
17811781
if not name or name == '' or name == json.null then
17821782
return
17831783
end
1784+
name = name:gsub(" ", "_")
17841785

17851786
-- Check for dupe
17861787
local buffer_name = w.buffer_get_string(self.buffer, 'name')

0 commit comments

Comments
 (0)