diff options
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 1a095b657..811e3e475 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -1585,8 +1585,8 @@ line_input_t* FAST_FUNC new_line_input_t(int flags) | |||
1585 | 1585 | ||
1586 | unsigned FAST_FUNC size_from_HISTFILESIZE(const char *hp) | 1586 | unsigned FAST_FUNC size_from_HISTFILESIZE(const char *hp) |
1587 | { | 1587 | { |
1588 | # if ENABLE_PLATFORM_MINGW32 && MAX_HISTORY > 511 | 1588 | # if ENABLE_PLATFORM_MINGW32 && DEFAULT_HISTORY > 0 && DEFAULT_HISTORY <= MAX_HISTORY |
1589 | int size = 384; | 1589 | int size = DEFAULT_HISTORY; |
1590 | # else | 1590 | # else |
1591 | int size = MAX_HISTORY; | 1591 | int size = MAX_HISTORY; |
1592 | # endif | 1592 | # endif |