mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 17:46:18 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
af03256eae
commit
26812dc2f4
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