comparison src/screen.c @ 507:a1059cda45f2 v7.0142

updated for version 7.0142
author vimboss
date Tue, 06 Sep 2005 19:25:11 +0000
parents 35cde31bdcbd
children d50452846776
comparison
equal deleted inserted replaced
506:3d386838cf56 507:a1059cda45f2
3478 /* Overlong encoded ASCII or ASCII with composing char 3478 /* Overlong encoded ASCII or ASCII with composing char
3479 * is displayed normally, except a NUL. */ 3479 * is displayed normally, except a NUL. */
3480 if (mb_c < 0x80) 3480 if (mb_c < 0x80)
3481 c = mb_c; 3481 c = mb_c;
3482 mb_utf8 = TRUE; 3482 mb_utf8 = TRUE;
3483
3484 /* At start of the line we can have a composing char.
3485 * Draw it as a space with a composing char. */
3486 if (utf_iscomposing(mb_c))
3487 {
3488 u8c_c2 = u8c_c1;
3489 u8c_c1 = mb_c;
3490 mb_c = ' ';
3491 }
3483 } 3492 }
3484 3493
3485 if ((mb_l == 1 && c >= 0x80) 3494 if ((mb_l == 1 && c >= 0x80)
3486 || (mb_l >= 1 && mb_c == 0) 3495 || (mb_l >= 1 && mb_c == 0)
3487 || (mb_l > 1 && (!vim_isprintc(mb_c) 3496 || (mb_l > 1 && (!vim_isprintc(mb_c)