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
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