author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 20 Mar 2008 00:51:09 +0000 (01:51 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 20 Mar 2008 11:38:50 +0000 (12:38 +0100) | ||
commit | 012e76e9df6edd83b9546303a2d334dfcd682f41 | |
tree | 571ddd8769b2bbfbd1985ee438e31b0ab9d37a31 | tree | snapshot |
parent | 23222036303a7c36afcd008a02bc80299ea9932c | commit | diff |
utf8_length: add reserve flag for reserving a trailing character
Replace unused coloffset with reserve flag, which will reserve at least
one character cell at the end. Use it for reserving a delimiter character
when use_tilde is TRUE, and avoid a second call to utf8_length().
Replace unused coloffset with reserve flag, which will reserve at least
one character cell at the end. Use it for reserving a delimiter character
when use_tilde is TRUE, and avoid a second call to utf8_length().
tig.c | diff | blob | history |