mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-05 21:59:18 -05:00
Update raygui.h
This commit is contained in:
@ -4214,7 +4214,7 @@ static void GuiLoadStyleFromMemory(const unsigned char *fileData, int dataSize)
|
|||||||
if ((glyphsDataCompressedSize > 0) && (glyphsDataCompressedSize != glyphsDataSize))
|
if ((glyphsDataCompressedSize > 0) && (glyphsDataCompressedSize != glyphsDataSize))
|
||||||
{
|
{
|
||||||
// Glyphs data is compressed, uncompress it
|
// Glyphs data is compressed, uncompress it
|
||||||
unsigned char *glypsDataCompressed = RAYGUI_MALLOC(glyphsDataCompressedSize);
|
unsigned char *glypsDataCompressed = (unsigned char *)RAYGUI_MALLOC(glyphsDataCompressedSize);
|
||||||
|
|
||||||
memcpy(glypsDataCompressed, fileDataPtr, glyphsDataCompressedSize);
|
memcpy(glypsDataCompressed, fileDataPtr, glyphsDataCompressedSize);
|
||||||
fileDataPtr += glyphsDataCompressedSize;
|
fileDataPtr += glyphsDataCompressedSize;
|
||||||
|
|||||||
Reference in New Issue
Block a user