From aa5bfb88d69ea24c74355298c671e07bce240d83 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 1 May 2012 12:01:26 +0100 Subject: lineedit: disable hack for wrong width on MinGW --- libbb/lineedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') diff --git a/libbb/lineedit.c b/libbb/lineedit.c index ec0997037..6990b91b6 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -342,7 +342,7 @@ int adjust_width_and_validate_wc(unsigned *width_adj, int wc); /* Put 'command_ps[cursor]', cursor++. * Advance cursor on screen. If we reached right margin, scroll text up * and remove terminal margin effect by printing 'next_char' */ -#define HACK_FOR_WRONG_WIDTH 1 +#define HACK_FOR_WRONG_WIDTH 1 && !ENABLE_PLATFORM_MINGW32 static void put_cur_glyph_and_inc_cursor(void) { CHAR_T c = command_ps[cursor]; -- cgit v1.2.3-55-g6feb