Skip to content

Commit

Permalink
Blame: fixup for the previous 'lines#' commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Oct 15, 2013
1 parent 9e748c1 commit 2b8afe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Blame.moon
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ for v in *{{-1,'previous'},{1,'next'}}
aegisub.register_macro script_name, script_description, (subs, sel) ->
local *
local cfg, cfgsource, btns, dlg, userconfigpath
local playres, styles, cfglineindices, dialogfirst, overlap_end
local playres, styles, cfglineindices, dialogfirst, overlap_end, check_max_lines_enabled

SAVE = {
no: "Apply and don't save settings"
Expand Down
4 changes: 2 additions & 2 deletions lua/Blame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ end
return aegisub.register_macro(script_name, script_description, function(subs, sel)
local SAVE, DEFAULTS, SIGNS, SIGNSre, METRICS, execute, blameline, should_ignore_signs, set_style, calc_numlines, max, cfgserialize, cfgdeserialize, cfgread, cfgwrite, init
local cfg, cfgsource, btns, dlg, userconfigpath
local playres, styles, cfglineindices, dialogfirst, overlap_end
local playres, styles, cfglineindices, dialogfirst, overlap_end, check_max_lines_enabled
SAVE = {
no = "Apply and don't save settings",
script = "Apply and save settings in script",
Expand Down Expand Up @@ -195,7 +195,7 @@ return aegisub.register_macro(script_name, script_description, function(subs, se
end)
end
local video_loaded = aegisub.frame_from_ms(0)
local check_max_lines_enabled = cfg.check_max_lines and playres.x > 0 and video_loaded
check_max_lines_enabled = cfg.check_max_lines and playres.x > 0 and video_loaded
local tosel
do
local _accum_0 = { }
Expand Down

0 comments on commit 2b8afe2

Please sign in to comment.