Fixed in_data/out_data mixup in Escape16 (thanks to Ladislav Sladecek).

This commit is contained in:
Alexandre Julliard 2001-08-08 23:23:36 +00:00
parent 625bef463f
commit ab17f304d1
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ INT16 WINAPI Escape16( HDC16 hdc, INT16 escape, INT16 in_count,
case GETPRINTINGOFFSET: case GETPRINTINGOFFSET:
case GETSCALINGFACTOR: case GETSCALINGFACTOR:
{ {
POINT16 *ptr = MapSL(in_data); POINT16 *ptr = out_data;
POINT pt32; POINT pt32;
ret = Escape( hdc, escape, 0, NULL, &pt32 ); ret = Escape( hdc, escape, 0, NULL, &pt32 );
ptr->x = pt32.x; ptr->x = pt32.x;
@ -135,7 +135,7 @@ INT16 WINAPI Escape16( HDC16 hdc, INT16 escape, INT16 in_count,
case NEXTBAND: case NEXTBAND:
{ {
RECT rc; RECT rc;
RECT16 *rc16 = MapSL(in_data); RECT16 *rc16 = out_data;
ret = Escape( hdc, escape, 0, NULL, &rc ); ret = Escape( hdc, escape, 0, NULL, &rc );
rc16->left = rc.left; rc16->left = rc.left;
rc16->top = rc.top; rc16->top = rc.top;