projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ddec8
)
Fixed warning.
author
Armin Novak
<anovak@thincast.com>
Wed, 10 Aug 2016 11:44:55 +0000
(13:44 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Thu, 6 Oct 2016 11:43:10 +0000
(13:43 +0200)
libfreerdp/cache/glyph.c
patch
|
blob
|
history
diff --git
a/libfreerdp/cache/glyph.c
b/libfreerdp/cache/glyph.c
index
4ae5986
..
60ad331
100644
(file)
--- a/
libfreerdp/cache/glyph.c
+++ b/
libfreerdp/cache/glyph.c
@@
-51,7
+51,10
@@
static UINT32 update_glyph_offset(const BYTE* data, UINT32 index, INT32* x,
UINT32 offset = data[index++];
if (offset & 0x80)
- offset = data[index++] | ((UINT32)data[index++]) << 8;
+ {
+ offset = data[index++];
+ offset |= ((UINT32)data[index++]) << 8;
+ }
if (flAccel & SO_VERTICAL)
*y += offset;