diff options
author | Amit Arora <amit.arora@linaro.org> | 2010-11-30 13:55:15 +0530 |
---|---|---|
committer | Amit Arora <amit.arora@linaro.org> | 2010-11-30 13:55:15 +0530 |
commit | 51d1b9c9b9988ef7101f542c3a16de4df546c028 (patch) | |
tree | a16e63747c7f238e881ce616641d7258d0e4b7d1 /clocks.c | |
parent | 8a7163fbf976a6868d683bbcdfe2a72c329faf55 (diff) | |
download | powerdebug-51d1b9c9b9988ef7101f542c3a16de4df546c028.tar.gz |
Fix scrolling for first clock beyond screen
Diffstat (limited to 'clocks.c')
-rw-r--r-- | clocks.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,8 +100,8 @@ int read_and_print_clock_info(int verbose, int hrow, int selected) int calc_delta_screen_size(int hrow) { - if (hrow > (maxy - 3)) - return hrow - (maxy - 3); + if (hrow >= (maxy - 3)) + return hrow - (maxy - 4); return 0; } |