mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
Changes by Sebastian Lackner <sebastian@fds-team.de>: * Use pitch value for locked buffer instead of assuming that pitch = width * bytesperpixel * Avoid one for loop to simplify code * Ensure that DrawText doesn't dereference a NULL pointer when count != 0. Changes by Christian Costa <titan.costa@gmail.com> * Use dedicated variables for text width & height instead of reusing rect.right and rect.bottom * Remove useless test in pixel conversion * Remove left over 'partial stub' in fixme Changes by Sebastian Lackner <sebastian@fds-team.de>: * Replace code to convert text from ascii to widechar * Strip terminating NULL chars before drawing text wine-staging patch by Christian Costa <titan.costa@gmail.com>