From f306257aa4300a97cccc60eac2c2f802bea85a49 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Fri, 11 Jul 2008 03:55:52 +0000 Subject: [PATCH] ran indent and removed some spaces at EOL git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1475 423420c4-83ab-492f-b58f-81f9feb106b5 --- ewmhints.c | 6 +++--- orders.c | 8 ++++---- proto.h | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ewmhints.c b/ewmhints.c index f2280ce..a3d67aa 100644 --- a/ewmhints.c +++ b/ewmhints.c @@ -6,17 +6,17 @@ Copyright 2005 Peter Astrand for Cendio AB Copyright 2007 Pierre Ossman for Cendio AB - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. diff --git a/orders.c b/orders.c index 8191206..2c9fa95 100644 --- a/orders.c +++ b/orders.c @@ -151,7 +151,7 @@ rdp_parse_pen(STREAM s, PEN * pen, uint32 present) static void setup_brush(BRUSH * out_brush, BRUSH * in_brush) { - BRUSHDATA * brush_data; + BRUSHDATA *brush_data; uint16 cache_idx; uint8 brush_bpp; @@ -159,7 +159,7 @@ setup_brush(BRUSH * out_brush, BRUSH * in_brush) if (out_brush->style & 0x80) { brush_bpp = out_brush->style & 0x0f; - if (brush_bpp == 1) /* 1 bpp */ + if (brush_bpp == 1) /* 1 bpp */ { cache_idx = out_brush->pattern[0]; brush_data = cache_get_brush_data(cache_idx); @@ -1165,11 +1165,11 @@ process_brushcache(STREAM s, uint16 flags) in_uint8(s, depth); in_uint8(s, width); in_uint8(s, height); - in_uint8s(s, 1); /* type, 0x80 = cached */ + in_uint8s(s, 1); /* type, 0x80 = cached */ in_uint8(s, size); DEBUG(("BRUSHCACHE(idx=%d,dp=%d,wd=%d,ht=%d,sz=%d)\n", cache_idx, depth, - width, height, size)); + width, height, size)); if ((depth == 1) && (width == 8) && (height == 8) && (size == 8)) { diff --git a/proto.h b/proto.h index 84dc618..1b6d9b2 100644 --- a/proto.h +++ b/proto.h @@ -44,7 +44,7 @@ void cache_put_desktop(uint32 offset, int cx, int cy, int scanline, int bytes_pe uint8 * data); RD_HCURSOR cache_get_cursor(uint16 cache_idx); void cache_put_cursor(uint16 cache_idx, RD_HCURSOR cursor); -BRUSHDATA * cache_get_brush_data(uint16 cache_idx); +BRUSHDATA *cache_get_brush_data(uint16 cache_idx); void cache_put_brush_data(uint16 cache_idx, BRUSHDATA * brush_data); /* channels.c */ VCHANNEL *channel_register(char *name, uint32 flags, void (*callback) (STREAM));