From eb49a19460f1478a9e9cee99a76391acec72d939 Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 10 Sep 2004 19:02:27 +0000 Subject: (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way! --- gfx.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'gfx.c') diff --git a/gfx.c b/gfx.c index be4cac622..2d0616fb8 100644 --- a/gfx.c +++ b/gfx.c @@ -242,17 +242,17 @@ void GfxDrawLine(int x, int y, int x2, int y2, int color) // 0 - end of string // 1 - SETX // 2 - SETXY -// 3-7 - +// 3-7 - // 8 - TINYFONT // 9 - BIGFONT // 10 - newline -// 11-14 - +// 11-14 - // 15-31 - 17 colors enum { ASCII_LETTERSTART = 32, - + ASCII_SETX = 1, ASCII_SETXY = 2, @@ -510,7 +510,7 @@ check_bounds: skip_char:; for(;;) { c = *string++; - if (c < ASCII_LETTERSTART) goto skip_cont; + if (c < ASCII_LETTERSTART) goto skip_cont; } } @@ -586,7 +586,7 @@ static void GfxBlitTileZoomIn(BlitterParams *bp) if (bp->mode & 1) { src_o += READ_LE_UINT16(src_o + bp->start_y * 2); - + do { do { done = src_o[0]; @@ -1351,7 +1351,7 @@ static void GfxMainBlitter(byte *sprite, int x, int y, int mode) if (dpi->zoom > 0) { start_y += bp.height &~ zoom_mask; - bp.height &= zoom_mask; + bp.height &= zoom_mask; if (bp.height == 0) return; y&=zoom_mask; } @@ -1622,7 +1622,7 @@ void UndrawMouseCursor() _screen.dst_ptr + _cursor.draw_pos.x + _cursor.draw_pos.y * _screen.pitch, _cursor_backup, _cursor.draw_size.x, _cursor.draw_size.y, _cursor.draw_size.x, _screen.pitch); - + _video_driver->make_dirty(_cursor.draw_pos.x, _cursor.draw_pos.y, _cursor.draw_size.x, _cursor.draw_size.y); } } @@ -1920,9 +1920,9 @@ void SetAnimatedMouseCursor(const uint16 *table) } bool ChangeResInGame(int w, int h) -{ +{ if ((_screen.width != w || _screen.height != h) && !_video_driver->change_resolution(w, h)) - return false; + return false; _cur_resolution[0] = w; _cur_resolution[1] = h; -- cgit v1.2.3-54-g00ecf