Ticket #1935: Incorrect lock files check when hostname contains wide characters.
commit70a41e4feda816d7a0b75be3217cdec1552928f2
authorAndrew Borodin <aborodin@vmail.ru>
Mon, 4 Jan 2010 19:06:37 +0000 (4 22:06 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Tue, 26 Jan 2010 13:18:21 +0000 (26 13:18 +0000)
treec109f157cda3b8f6346c4c020eaf13d1cb50c80b
parent173d2d4b909483608c449be15b545b4d305750ac
Ticket #1935: Incorrect lock files check when hostname contains wide characters.

Bug: in lock_extract_info() number of unicode characters
is used as number of bytes in string.

Now strlen() is used instead of str_term_width() to calculate
string length. String length is calculated only one time.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/editor/editlock.c