mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-15 06:08:42 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
cc63d9fe2f
commit
dd7ca3acc4
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