mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
revert commit No. e19de53a06
"change addch to addstr"
This commit is contained in:
parent
540bdb85ed
commit
356b501bdc
@ -300,6 +300,7 @@ print_to_widget (WEdit *edit, long row, int start_col, int start_col_real,
|
||||
lowlevel_set_color (color);
|
||||
}
|
||||
}
|
||||
#ifndef HAVE_SLANG
|
||||
int res = g_unichar_to_utf8 (textchar, str);
|
||||
if ( res == 0 ) {
|
||||
str[0] = '.';
|
||||
@ -308,6 +309,9 @@ print_to_widget (WEdit *edit, long row, int start_col, int start_col_real,
|
||||
str[res] = '\0';
|
||||
}
|
||||
addstr (str);
|
||||
#else
|
||||
addch (textchar);
|
||||
#endif
|
||||
p++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user