diff options
author | jsorg71 <jsorg71> | 2005-02-08 03:45:30 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-02-08 03:45:30 +0000 |
commit | cf6e2abd416c26105396fa0dd1834e3879fa2e08 (patch) | |
tree | 920d5099051e3b3b036ffa097d554fb3af5bd504 /xrdp/xrdp_painter.c | |
parent | d2da72f5c96f537a1b8bed9af0f5b648c06e530a (diff) | |
download | xrdp-proprietary-cf6e2abd416c26105396fa0dd1834e3879fa2e08.tar.gz xrdp-proprietary-cf6e2abd416c26105396fa0dd1834e3879fa2e08.zip |
added a bunch of error checks
Diffstat (limited to 'xrdp/xrdp_painter.c')
-rw-r--r-- | xrdp/xrdp_painter.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/xrdp/xrdp_painter.c b/xrdp/xrdp_painter.c index 7fcb7170..1863db4c 100644 --- a/xrdp/xrdp_painter.c +++ b/xrdp/xrdp_painter.c @@ -555,10 +555,20 @@ int xrdp_painter_draw_text(struct xrdp_painter* self, draw_rect.right--; draw_rect.bottom--; flags = 0x03; /* 0x73; TEXT2_IMPLICIT_X and something else */ + DEBUG(("sending text order \ +font %d flags %d mixmode %d color1 %d color2 %d \ +clip left %d clip top %d clip right %d clip bottom %d \ +box left %d box top %d box right %d box bottom %d \ +x %d y %d len %d rect %d %d %d %d\n\r", + f, flags, 0, font->color, 0, x, y, x + total_width, + y + total_height, 0, 0, 0, 0, x1, y1, len, + draw_rect.left, draw_rect.top, + draw_rect.right, draw_rect.bottom)); xrdp_orders_text(self->orders, f, flags, 0, font->color, 0, x, y, x + total_width, y + total_height, - 0, 0, 0, 0, x1, y1, data, len * 2, &draw_rect); + 0, 0, 0, 0, + x1, y1, data, len * 2, &draw_rect); } } k++; |