mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
Minor, rename internal functions/variables screen_* -> tt*
- Shorter - Follows old UNIX tradition - Lines up with next commit Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
7bc1470a1e
commit
522276b80d
7 files changed
+45
-40
No files matched your search
+2
-2
@@ -89,8 +89,8 @@ static void do_list(const char *path)
|
||||
if (width <= 0)
|
||||
goto done;
|
||||
|
||||
num = (screen_cols - 2) / width;
|
||||
if ((num - 1) * 2 + num * width > screen_cols)
|
||||
num = (ttcols - 2) / width;
|
||||
if ((num - 1) * 2 + num * width > ttcols)
|
||||
num--;
|
||||
|
||||
prev = 0;
|
||||
|
||||
Reference in new issue
Block a user