Bug fix from Robert de Bath: if wc_to_mb returns a length of zero, it
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 22 Apr 2012 14:22:08 +0000 (14:22 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 22 Apr 2012 14:22:08 +0000 (14:22 +0000)
commit8a0c25526881df05f81c34264c4e37b0caff3d7e
tree4d1e26b1e0336f9189c18c55af45b8f4cafbd59a
parent9f123c4f2fa5d06500b39a5f8b0c38a39a6a5688
Bug fix from Robert de Bath: if wc_to_mb returns a length of zero, it
will not even initialise sbstring[0], so we shouldn't even look at it
let alone depend on it to tell us the desired character was absent.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9465 cda61777-01e9-0310-a592-d414129be87e
unix/gtkfont.c