File src/hstr.c changed (mode: 100644) (index cbe630e..a1cc66a) |
... |
... |
unsigned recalculate_max_history_items() |
313 |
313 |
int bottom = getmaxy(stdscr) - 1; |
int bottom = getmaxy(stdscr) - 1; |
314 |
314 |
if(hstr->promptBottom) { |
if(hstr->promptBottom) { |
315 |
315 |
hstr->promptY = bottom--; |
hstr->promptY = bottom--; |
316 |
|
hstr->promptYHelp = hstr->showHelp ? bottom-- : LABEL_DISABLED_Y; |
|
317 |
|
hstr->promptYStatus = bottom--; |
|
|
316 |
|
hstr->promptYHelp = hstr->showHelp ? top++ : LABEL_DISABLED_Y; |
|
317 |
|
hstr->promptYStatus = top++; |
318 |
318 |
} else { |
} else { |
319 |
319 |
hstr->promptY = top++; |
hstr->promptY = top++; |
320 |
320 |
hstr->promptYHelp = hstr->showHelp ? top++ : LABEL_DISABLED_Y; |
hstr->promptYHelp = hstr->showHelp ? top++ : LABEL_DISABLED_Y; |