Commit 87da3ecb authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: remove another bit of conditional compilation

No related merge requests found
Showing with 2 additions and 9 deletions
+2 -9
......@@ -439,10 +439,7 @@ void update_the_statusbar(void)
/* Get a string of input at the statusbar prompt. */
functionptrtype acquire_an_answer(int *actual, bool allow_tabs,
bool allow_files, bool *listed,
#ifdef ENABLE_HISTORIES
filestruct **history_list,
#endif
bool allow_files, bool *listed, filestruct **history_list,
void (*refresh_func)(void))
{
int kbinput = ERR;
......@@ -633,11 +630,7 @@ int do_prompt(bool allow_tabs, bool allow_files,
prompt[actual_x(prompt, (COLS < 5) ? 0 : COLS - 5)] = '\0';
func = acquire_an_answer(&retval, allow_tabs, allow_files, &listed,
#ifdef ENABLE_HISTORIES
history_list,
#endif
refresh_func);
history_list, refresh_func);
free(prompt);
prompt = saved_prompt;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment