Changed the way debug-output is disabled in karaskel.lua.
Originally committed to SVN as r9.
This commit is contained in:
parent
1fc9fdf281
commit
1b6aa55206
1 changed files with 4 additions and 2 deletions
|
@ -68,8 +68,10 @@
|
||||||
|
|
||||||
-- This one is used
|
-- This one is used
|
||||||
aegisub.output_warning = aegisub.output_debug
|
aegisub.output_warning = aegisub.output_debug
|
||||||
-- Comment out this line to enable debugging messages
|
-- Set the variable show_debug_output to non-nil non-false before including karaskel.lua, to get debug output
|
||||||
|
if not show_debug_output then
|
||||||
aegisub.output_debug = function() end
|
aegisub.output_debug = function() end
|
||||||
|
end
|
||||||
|
|
||||||
-- Return a replacement text for a syllable
|
-- Return a replacement text for a syllable
|
||||||
function default_do_syllable(meta, styles, config, line, syl)
|
function default_do_syllable(meta, styles, config, line, syl)
|
||||||
|
|
Loading…
Reference in a new issue