Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NecrosCopy: Assign mark before using it #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bucket3432
Copy link

Splitting by marker currently produces this error:

Lua reported a runtime error:
    File "/home/bucket/.aegisub/automation/autoload/ua.NecrosCopy.lua", line 1231
<anonymous function at lines 1187-1232>
    File "/home/bucket/.aegisub/automation/autoload/ua.NecrosCopy.lua", line 601
splitbreak
    File "/home/bucket/.aegisub/automation/autoload/ua.NecrosCopy.lua", line 827
esc
attempt to index local 'str' (a nil value)

It is caused by mark being used before it is first assigned to. This patch assigns a value to mark before it is first used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant