diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2024-03-15 09:52:04 +0100 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2024-03-21 01:47:15 +0100 |
commit | 17a0756ed3536a9b8aa60adaa92859a0dba060ad (patch) | |
tree | 1add30b32a8142676c02f60bac3e16606c0cb8fc /sub | |
parent | 188155457dc95b02d09265175b82acc484a4cd40 (diff) | |
download | mpv-17a0756ed3536a9b8aa60adaa92859a0dba060ad.tar.bz2 mpv-17a0756ed3536a9b8aa60adaa92859a0dba060ad.tar.xz |
msg: simplify the line_skip calculation
Make it more straightforward by always calculating top offset first
instead of having two branches, that tries to calc it directly.
This also fixes missing negative check before `\033[%dA` which was in
practice only problem on macOS which was handling negative values, while
in fact it shouldn't.
Fixes: #13484
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions