From: Cheng Zhao Date: Thu, 7 Nov 2013 07:09:45 +0000 (+0800) Subject: win: Fix setting icon after format of atom.rc has changed. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d710609fd3946d6fbb5aa928066380031db6a11;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git win: Fix setting icon after format of atom.rc has changed. --- diff --git a/browser/native_window_win.cc b/browser/native_window_win.cc index 5e95a73..87afabc 100644 --- a/browser/native_window_win.cc +++ b/browser/native_window_win.cc @@ -224,7 +224,7 @@ NativeWindowWin::NativeWindowWin(content::WebContents* web_contents, OnViewWasResized(); if (g_exe_icon == NULL) - g_exe_icon = ::LoadImage(GetModuleHandle(NULL), L"IDR_MAINFRAME", + g_exe_icon = ::LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(1), IMAGE_ICON, 0, 0, 0); ::SendMessage(window_->GetNativeWindow(), WM_SETICON,