diff --git a/changelog.txt b/changelog.txt index 9ca3d5e44..ddfb31a29 100644 --- a/changelog.txt +++ b/changelog.txt @@ -31,6 +31,7 @@ Template for new versions: ## New Features ## Fixes +- `gui/control-panel`: fixed inconsistent space in command help ("tweak" -> "tweak ", like with other commands) ## Misc Improvements diff --git a/gui/control-panel.lua b/gui/control-panel.lua index becd57d1d..2e5455d5b 100644 --- a/gui/control-panel.lua +++ b/gui/control-panel.lua @@ -403,7 +403,7 @@ function CommandTab:init_footer(panel) end local function launch_help(data) - dfhack.run_command('gui/launcher', data.help_command or data.command .. ' ') + dfhack.run_command('gui/launcher', (data.help_command or data.command) .. ' ') end function CommandTab:show_help()