]> git.wh0rd.org Git - nano.git/commitdiff
fix if block
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 24 Dec 2004 15:23:10 +0000 (15:23 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 24 Dec 2004 15:23:10 +0000 (15:23 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2197 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/winio.c

index 894b278243784a2c08f05c2d2eca09cf3f9fc182..3624a8d9cdfebef32bf21472b25285e1125a906f 100644 (file)
@@ -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;