Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-11-18 21:54:34 +01:00
parent af03256eae
commit 26812dc2f4

View file

@ -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)
{ {