]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Rationalise the mechanism in do_text_internal for providing the 'lpDx'
authorSimon Tatham <anakin@pobox.com>
Wed, 29 Dec 2010 23:48:54 +0000 (23:48 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 29 Dec 2010 23:48:54 +0000 (23:48 +0000)
commita418e0d2dc2325271a85e03ef44bede05329090e
tree68e897c051f26202e493023036b3cb3f946b889c
parent46355d29ae9f6f61d2ff54a3b5ec8bbd198609ff
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.

[originally from svn r9066]
windows/window.c