From 26812dc2f495fad36fc5657baf19794c0e8c0c72 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 18 Nov 2010 21:54:34 +0100 Subject: [PATCH] Changed: #878 Fix typos in comments/code --- code/nel/src/3d/driver/opengl/driver_opengl_window.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp index 0c5c1a1ad..44de79891 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp @@ -1440,7 +1440,7 @@ bool CDriverGL::createWindow(const GfxMode &mode) } // create an application delegate - CocoaApplicationDelegate* appDelegate = + CocoaApplicationDelegate* appDelegate = [[CocoaApplicationDelegate alloc] initWithDriver:this]; // set the application delegate, this will handle window/app close events @@ -2445,7 +2445,7 @@ void CDriverGL::setWindowSize(uint32 width, uint32 height) [[containerView() window] setFrame:rect display:YES]; } } - + #elif defined(NL_OS_UNIX) if (width != _WindowWidth || height != _WindowHeight) @@ -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) { CBitmap src = bitmap; + // resample bitmap if necessary if (src.getWidth() != iconWidth || src.getHeight() != iconHeight) {