mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed warning.
This commit is contained in:
5
libfreerdp/cache/glyph.c
vendored
5
libfreerdp/cache/glyph.c
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user