reindent
Dependencies
- [2]
T45HTERYchange section delimiters in log for OpenBSD - [3]
KKMFQDR4editing source code from within the app
Change contents
- replacement in log.lua at line 2
local info = debug.getinfo(stack_frame_index, 'Sl')local msgif type(obj) == 'string' thenmsg = objelsemsg = json.encode(obj)endlove.filesystem.append('log', info.short_src..':'..info.currentline..': '..msg..'\n')local info = debug.getinfo(stack_frame_index, 'Sl')local msgif type(obj) == 'string' thenmsg = objelsemsg = json.encode(obj)endlove.filesystem.append('log', info.short_src..':'..info.currentline..': '..msg..'\n') - replacement in log.lua at line 14
if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{250c} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '[ u250c ' .. name)if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{250c} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '[ u250c ' .. name) - replacement in log.lua at line 22
if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{2518} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '] u2518 ' .. name)if stack_frame_index == nil thenstack_frame_index = 3end-- I'd like to use the unicode character \u{2518} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '] u2518 ' .. name) - replacement in log.lua at line 31
if stack_frame_index == nil thenstack_frame_index = 4endlog_end(name, stack_frame_index)log_start(name, stack_frame_index)if stack_frame_index == nil thenstack_frame_index = 4endlog_end(name, stack_frame_index)log_start(name, stack_frame_index)