Skip to content

Fix Player::goto_command to position to the target line instead of +1#23

Open
SergeBakharev wants to merge 1 commit intoMakeraInc:masterfrom
SergeBakharev:fix_goto_for_makera
Open

Fix Player::goto_command to position to the target line instead of +1#23
SergeBakharev wants to merge 1 commit intoMakeraInc:masterfrom
SergeBakharev:fix_goto_for_makera

Conversation

@SergeBakharev
Copy link

As discussed in Carvera-Community#216 the goto command currently progresses the file pointer to +1 of the target line. This PR re-orders the line checking before the fgets() so that goto works as described in the releases note description and moves to the specified line number.

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