mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
a5a26cfa86
From mailing list (thanks!).
14 lines
536 B
Diff
14 lines
536 B
Diff
diff --git a/src/display.cpp b/src/display.cpp
|
|
index 07227c5..7b3a7a2 100644
|
|
--- a/src/display.cpp
|
|
+++ b/src/display.cpp
|
|
@@ -244,7 +244,7 @@ void cursor_down(void)
|
|
w = tab_windows[tab_names[current_tab]];
|
|
if (w) {
|
|
if (w->ypad_pos < 1000) {
|
|
- if (tab_names[current_tab] == "Tunables" || "WakeUp") {
|
|
+ if (tab_names[current_tab] == "Tunables" || tab_names[current_tab] == "WakeUp") {
|
|
if ((w->cursor_pos + 7) >= LINES) {
|
|
prefresh(w->win, ++w->ypad_pos, w->xpad_pos,
|
|
1, 0, LINES - 3, COLS - 1);
|