Skip to content
Snippets Groups Projects
Commit 3b44cb42 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix missing unlock

parent 2be3fef5
Branches
Tags
No related merge requests found
Pipeline #7717 passed
......@@ -1404,8 +1404,10 @@ bitmap_movetext_screen(int x, int y, int tox, int toy, int direction, int height
direction = -1;
height = vstat.rows - (height + (y - toy));
// If everything was moved, there's no lines to move back
if (height <= 0)
if (height <= 0) {
pthread_mutex_unlock(&screenlock);
return;
}
toy = vstat.rows - (height - 1);
y = toy - (height);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment