diff --git a/rEFIt_UEFI/libeg/XImage.cpp b/rEFIt_UEFI/libeg/XImage.cpp index efeda9877..ee36f1a95 100644 --- a/rEFIt_UEFI/libeg/XImage.cpp +++ b/rEFIt_UEFI/libeg/XImage.cpp @@ -313,7 +313,7 @@ unsigned XImage::ToPNG(UINT8** Data, UINTN& OutSize) * scale = 1 correspond to fill the rect with the image * scale = 0.5 will reduce image */ -unsigned XImage::FromSVG(const CHAR8 *SVGData, UINTN FileDataLength, float scale) +unsigned XImage::FromSVG(const CHAR8 *SVGData, float scale) { NSVGimage *SVGimage; NSVGparser* p; diff --git a/rEFIt_UEFI/libeg/XImage.h b/rEFIt_UEFI/libeg/XImage.h index 0d3e618ff..d044e16bb 100644 --- a/rEFIt_UEFI/libeg/XImage.h +++ b/rEFIt_UEFI/libeg/XImage.h @@ -85,7 +85,7 @@ public: void FlipRB(bool WantAlpha); unsigned FromPNG(const UINT8 * Data, UINTN Lenght); unsigned ToPNG(UINT8** Data, UINTN& OutSize); - unsigned FromSVG(const CHAR8 *SVGData, UINTN SVGDataLength, float scale); + unsigned FromSVG(const CHAR8 *SVGData, float scale); void GetArea(const EG_RECT& Rect); void GetArea(INTN x, INTN y, UINTN W, UINTN H); void Draw(INTN x, INTN y, float scale);