diff options
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); | |||
342 | /* Put 'command_ps[cursor]', cursor++. | 342 | /* Put 'command_ps[cursor]', cursor++. |
343 | * Advance cursor on screen. If we reached right margin, scroll text up | 343 | * Advance cursor on screen. If we reached right margin, scroll text up |
344 | * and remove terminal margin effect by printing 'next_char' */ | 344 | * and remove terminal margin effect by printing 'next_char' */ |
345 | #define HACK_FOR_WRONG_WIDTH 1 | 345 | #define HACK_FOR_WRONG_WIDTH 1 && !ENABLE_PLATFORM_MINGW32 |
346 | static void put_cur_glyph_and_inc_cursor(void) | 346 | static void put_cur_glyph_and_inc_cursor(void) |
347 | { | 347 | { |
348 | CHAR_T c = command_ps[cursor]; | 348 | CHAR_T c = command_ps[cursor]; |