summaryrefslogtreecommitdiff
path: root/splashscreen/src/options.cpp
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-06-02 12:56:17 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-06-02 12:56:17 +0000
commit1d4c82315785aa0d61216483bae4a2511d303bea (patch)
tree29a2ad00472365527cbcb5ebb1004bb9f60f9735 /splashscreen/src/options.cpp
parentcc3c75d89cc4658ed9903775e422523873d697e0 (diff)
fixed sounds playing
fixed random splash cosmetic fix git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@136 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'splashscreen/src/options.cpp')
-rw-r--r--splashscreen/src/options.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/splashscreen/src/options.cpp b/splashscreen/src/options.cpp
index a578d2b..b400eca 100644
--- a/splashscreen/src/options.cpp
+++ b/splashscreen/src/options.cpp
@@ -46,8 +46,8 @@ void ReadIniConfig()
}
BOOL Exists(LPCTSTR strName)
-{
- return GetFileAttributes(strName) != INVALID_FILE_ATTRIBUTES;
+{
+ return GetFileAttributes(strName) != INVALID_FILE_ATTRIBUTES;
}
INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
@@ -55,9 +55,9 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
switch (msg)
{
case WM_INITDIALOG:
- {
+ {
TranslateDialogDefault(hwndDlg);
- if (!png2dibavail)
+ if (!png2dibavail)
{
ShowWindow(GetDlgItem(hwndDlg, IDC_PNG2DIBWARN), SW_SHOW);
EnableWindow(GetDlgItem(hwndDlg, IDC_ACTIVE), false);
@@ -223,7 +223,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
TCHAR *pos;
pos = _tcsrchr(szPath2Spash, _T('\\'));
if (pos != NULL)
- {
+ {
*pos = 0;
lstrcat(szPath2Spash, _T("\\"));
}
@@ -315,7 +315,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
GetWindowText(GetDlgItem(hwndDlg, IDC_SNDPATH), tmp, MAX_PATH);
DBWriteContactSettingTString(NULL, MODNAME, "Sound", tmp);
-
+
GetWindowText(GetDlgItem(hwndDlg, IDC_VERSIONPREFIX), tmp, MAX_PATH);
DBWriteContactSettingTString(NULL, MODNAME, "VersionPrefix", tmp);
lstrcpy(szPrefix, tmp);