Author: mlytwyn Date: Fri Jun 10 15:26:21 2016 New Revision: 39857 URL: http://svn.gna.org/viewcvs/gnustep?rev=39857&view=rev Log: Remove debug log
Modified: libs/back/branches/gnustep_testplant_branch/Source/win32/MSUserNotifications/MSUserNotification.mm Modified: libs/back/branches/gnustep_testplant_branch/Source/win32/MSUserNotifications/MSUserNotification.mm URL: http://svn.gna.org/viewcvs/gnustep/libs/back/branches/gnustep_testplant_branch/Source/win32/MSUserNotifications/MSUserNotification.mm?rev=39857&r1=39856&r2=39857&view=diff ============================================================================== --- libs/back/branches/gnustep_testplant_branch/Source/win32/MSUserNotifications/MSUserNotification.mm (original) +++ libs/back/branches/gnustep_testplant_branch/Source/win32/MSUserNotifications/MSUserNotification.mm Fri Jun 10 15:26:21 2016 @@ -286,9 +286,11 @@ else { std::string filename8 = [[image _filename] UTF8String]; - std::wstring filename16(filename8.length(), L' '); // Make room for characters + std::wstring filename16(filename8.length(), L' '); // Make room for characters std::copy(filename8.begin(), filename8.end(), filename16.begin()); // Copy string to wstring. - std::cout << __PRETTY_FUNCTION__ << ":filename8: " << filename8 << " filename16: " << filename16.c_str() << std::endl; +#if defined(DEBUG) + std::cout << __PRETTY_FUNCTION__ << ":filename8: " << filename8 << " filename16: " << filename16 << std::endl; +#endif Gdiplus::Bitmap *bitmap = new Gdiplus::Bitmap(filename16.c_str()); Gdiplus::Status status = bitmap->GetHICON(&result); _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs