version 1.19, 2019/06/28 13:35:01 |
version 1.20, 2019/09/02 14:07:45 |
|
|
if (bswidth != NULL) |
if (bswidth != NULL) |
*bswidth = prlen; |
*bswidth = prlen; |
} else { |
} else { |
LWCHAR prev_ch = step_char(&p, -1, cmdbuf); |
if (pwidth != NULL) |
if (is_combining_char(prev_ch, ch)) { |
*pwidth = is_wide_char(ch) ? 2 : 1; |
if (pwidth != NULL) |
if (bswidth != NULL) |
*pwidth = 0; |
*bswidth = 1; |
if (bswidth != NULL) |
|
*bswidth = 0; |
|
} else { |
|
if (pwidth != NULL) |
|
*pwidth = is_wide_char(ch) |
|
? 2 : 1; |
|
if (bswidth != NULL) |
|
*bswidth = 1; |
|
} |
|
} |
} |
} |
} |
} |
} |