Rationalise the mechanism in do_text_internal for providing the 'lpDx'
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 29 Dec 2010 23:48:54 +0000 (23:48 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 29 Dec 2010 23:48:54 +0000 (23:48 +0000)
commit798a50bf16c5c2b5c304643a77851d41088f5c16
tree68e897c051f26202e493023036b3cb3f946b889c
parent9e3a3317ecc364296a6a8b05c20a7fc19826e22d
Rationalise the mechanism in do_text_internal for providing the 'lpDx'
array to ExtTextOut:
 - move it inside the new big loop (this should fix a potential bug
   whereby the DBCS handling altered some elements of it but the loop
   did not actually step along it)
 - initialise it more sensibly
 - rename it to lpDx rather than IpDx, since as far as I can tell the
   latter name was derived from a misreading of the former in the
   Windows API docs.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9066 cda61777-01e9-0310-a592-d414129be87e
windows/window.c