mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 17:29:06 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
75a2ea5fb9
commit
74f7e6a49b
1 changed files with 3 additions and 2 deletions
|
@ -2655,6 +2655,7 @@ bool CDriverGL::pasteTextFromClipboard(ucstring &text)
|
||||||
bool CDriverGL::convertBitmapToIcon(const NLMISC::CBitmap &bitmap, HICON &icon, uint iconWidth, uint iconHeight, uint iconDepth, const NLMISC::CRGBA &col, sint hotSpotX, sint hotSpotY, bool cursor)
|
bool CDriverGL::convertBitmapToIcon(const NLMISC::CBitmap &bitmap, HICON &icon, uint iconWidth, uint iconHeight, uint iconDepth, const NLMISC::CRGBA &col, sint hotSpotX, sint hotSpotY, bool cursor)
|
||||||
{
|
{
|
||||||
CBitmap src = bitmap;
|
CBitmap src = bitmap;
|
||||||
|
|
||||||
// resample bitmap if necessary
|
// resample bitmap if necessary
|
||||||
if (src.getWidth() != iconWidth || src.getHeight() != iconHeight)
|
if (src.getWidth() != iconWidth || src.getHeight() != iconHeight)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue