mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Minor fixes
This commit is contained in:
parent
1e66d1a3c2
commit
b633d64ad1
@ -231,7 +231,7 @@ bool CDialogPackage::CreatePackage()
|
||||
|
||||
if (!c_Dialog->m_Load.empty())
|
||||
{
|
||||
WritePrivateProfileString(L"rmskin", L"LoadType", c_Dialog->m_LoadTheme ? L"Theme" : L"Skin", tempFile);
|
||||
WritePrivateProfileString(L"rmskin", L"LoadType", c_Dialog->m_LoadTheme ? L"Layout" : L"Skin", tempFile);
|
||||
WritePrivateProfileString(L"rmskin", L"Load", c_Dialog->m_Load.c_str(), tempFile);
|
||||
}
|
||||
|
||||
@ -1238,7 +1238,7 @@ INT_PTR CDialogPackage::CTabAdvanced::OnCommand(WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
int length = GetWindowTextLength((HWND)lParam);
|
||||
c_Dialog->m_VariableFiles.resize(length);
|
||||
GetWindowText((HWND)lParam, &c_Dialog->m_VariableFiles[0], length);
|
||||
GetWindowText((HWND)lParam, &c_Dialog->m_VariableFiles[0], length + 1);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user