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
This commit is contained in:
parent
88855ddcbf
commit
f306257aa4
@ -6,17 +6,17 @@
|
||||
|
||||
Copyright 2005 Peter Astrand <astrand@cendio.se> for Cendio AB
|
||||
Copyright 2007 Pierre Ossman <ossman@cendio.se> 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.
|
||||
|
8
orders.c
8
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))
|
||||
{
|
||||
|
2
proto.h
2
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));
|
||||
|
Loading…
Reference in New Issue
Block a user