mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-27 14:12:48 +00:00
Textviewer fix: left arrows in unused lines
This commit is contained in:
parent
2393f82e79
commit
06318455c1
@ -426,7 +426,7 @@ u32 FileTextViewer(const char* path) {
|
|||||||
u32 llen = LineLen(text, len, ww, ptr);
|
u32 llen = LineLen(text, len, ww, ptr);
|
||||||
u32 ncpy = ((int) llen < off_disp) ? 0 : (llen - off_disp);
|
u32 ncpy = ((int) llen < off_disp) ? 0 : (llen - off_disp);
|
||||||
if (ncpy > llen_disp) ncpy = llen_disp;
|
if (ncpy > llen_disp) ncpy = llen_disp;
|
||||||
bool al = !ww && off_disp;
|
bool al = !ww && off_disp && (ptr != ptr_next);
|
||||||
bool ar = !ww && (llen > off_disp + llen_disp);
|
bool ar = !ww && (llen > off_disp + llen_disp);
|
||||||
|
|
||||||
// build text string
|
// build text string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user