Minor fixes.

This commit is contained in:
spx 2011-09-24 13:04:44 +00:00
parent 50f3f32838
commit 1609fb7f59

View File

@ -377,7 +377,7 @@ void CDialogManage::CTabSkins::Initialize()
ShowWindow(item, SW_HIDE); ShowWindow(item, SW_HIDE);
item = GetDlgItem(m_Window, IDC_MANAGESKINS_DISPLAYMONITOR_BUTTON); item = GetDlgItem(m_Window, IDC_MANAGESKINS_DISPLAYMONITOR_BUTTON);
GetString(ID_STR_DISPLAYMONITOR); tmpSz = GetString(ID_STR_DISPLAYMONITOR);
if (CSystem::GetOSPlatform() >= OSPLATFORM_VISTA) if (CSystem::GetOSPlatform() >= OSPLATFORM_VISTA)
{ {
// Arrow down // Arrow down
@ -914,7 +914,10 @@ INT_PTR CDialogManage::CTabSkins::OnCommand(WPARAM wParam, LPARAM lParam)
break; break;
case IDC_MANAGESKINS_REFRESH_BUTTON: case IDC_MANAGESKINS_REFRESH_BUTTON:
m_SkinWindow->Refresh(false); if (m_SkinWindow)
{
m_SkinWindow->Refresh(false);
}
break; break;
case IDC_MANAGESKINS_EDIT_BUTTON: case IDC_MANAGESKINS_EDIT_BUTTON: