mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-06-20 18:08:02 +02:00
Test lesser width
This commit is contained in:
parent
f1f649fd9c
commit
a2d9315cc7
@ -250,7 +250,7 @@ static RESULT preview(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* To some reason lf chops off last 2 characters of a line */
|
/* To some reason lf chops off last 2 characters of a line */
|
||||||
w_l = MAX(0, w_l - 2);
|
w_l = MAX(0, w_l - 10);
|
||||||
|
|
||||||
snprintf(w_buf, LEN(w_buf), "%ld", w_l);
|
snprintf(w_buf, LEN(w_buf), "%ld", w_l);
|
||||||
snprintf(h_buf, LEN(h_buf), "%ld", h_l);
|
snprintf(h_buf, LEN(h_buf), "%ld", h_l);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user