diff options
-rw-r--r-- | libbb/lineedit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index ee494e013..1a095b657 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -1585,7 +1585,11 @@ 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 | ||
1589 | int size = 384; | ||
1590 | # else | ||
1588 | int size = MAX_HISTORY; | 1591 | int size = MAX_HISTORY; |
1592 | # endif | ||
1589 | if (hp) { | 1593 | if (hp) { |
1590 | size = atoi(hp); | 1594 | size = atoi(hp); |
1591 | if (size <= 0) | 1595 | if (size <= 0) |