From: David Lawrence Ramsey Date: Fri, 24 Dec 2004 15:23:10 +0000 (+0000) Subject: fix if block X-Git-Tag: v1.3.6~205 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7ddca3a9a66b2a13694a542cdcbedef23477286f;p=nano.git fix if block git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2197 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/winio.c b/src/winio.c index 894b2782..3624a8d9 100644 --- a/src/winio.c +++ b/src/winio.c @@ -1856,7 +1856,7 @@ char *display_string(const char *buf, size_t start_col, size_t len, bool ); if (is_cntrl_char(wide_buf)) { - if (column > start_col) { + if (dollars && column > start_col) { char *ctrl_wide_buf = charalloc(MB_CUR_MAX); int ctrl_wide_buf_len, i;