comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2298 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
83ba47a964
commit
3e93c63e60
|
@ -346,7 +346,7 @@ int parse_mbchar(const char *buf, char *chr
|
||||||
/* If we have a control character, get its width using one
|
/* If we have a control character, get its width using one
|
||||||
* column for the "^" that will be displayed in front of it,
|
* column for the "^" that will be displayed in front of it,
|
||||||
* and the width in columns of its visible equivalent as
|
* and the width in columns of its visible equivalent as
|
||||||
* returned by control_rep(). */
|
* returned by control_mbrep(). */
|
||||||
else if (is_cntrl_mbchar(buf)) {
|
else if (is_cntrl_mbchar(buf)) {
|
||||||
char *ctrl_buf_mb = charalloc(MB_CUR_MAX);
|
char *ctrl_buf_mb = charalloc(MB_CUR_MAX);
|
||||||
int ctrl_buf_mb_len;
|
int ctrl_buf_mb_len;
|
||||||
|
@ -381,7 +381,7 @@ int parse_mbchar(const char *buf, char *chr
|
||||||
/* If we have a control character, it's two columns wide:
|
/* If we have a control character, it's two columns wide:
|
||||||
* one column for the "^" that will be displayed in front of
|
* one column for the "^" that will be displayed in front of
|
||||||
* it, and one column for its visible equivalent as returned
|
* it, and one column for its visible equivalent as returned
|
||||||
* by control_rep(). */
|
* by control_mbrep(). */
|
||||||
else if (is_cntrl_char((unsigned char)*buf))
|
else if (is_cntrl_char((unsigned char)*buf))
|
||||||
*col += 2;
|
*col += 2;
|
||||||
/* If we have a normal character, it's one column wide. */
|
/* If we have a normal character, it's one column wide. */
|
||||||
|
|
Loading…
Reference in New Issue