diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-08-19 15:12:03 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-08-19 15:12:03 +0000 |
commit | 7056d9f7bf15b9e9d8e21bb8f38688733a73920d (patch) | |
tree | a36e623e51faafe2613cfff096a8eb3aa4026a7d /plugins/SplashScreen/src/options.cpp | |
parent | dc9bcdf426102a9a8c00ce5ad5d33551b27d608c (diff) |
own function replaced by winapi
git-svn-id: http://svn.miranda-ng.org/main/trunk@5748 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SplashScreen/src/options.cpp')
-rw-r--r-- | plugins/SplashScreen/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SplashScreen/src/options.cpp b/plugins/SplashScreen/src/options.cpp index 128b0d4856..df819697aa 100644 --- a/plugins/SplashScreen/src/options.cpp +++ b/plugins/SplashScreen/src/options.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA TCHAR szPath2Spash [MAX_PATH], szSoundFilePath[MAX_PATH];
// Reads values from db
-void ReadIniConfig()
+void ReadDbConfig()
{
options.active = db_get_b(NULL, MODNAME, "Active", 1);
options.playsnd = db_get_b(NULL, MODNAME, "PlaySound", 0);
@@ -57,7 +57,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP EnableWindow(GetDlgItem(hwndDlg, IDC_SPLASHPATH), false);
EnableWindow(GetDlgItem(hwndDlg, IDC_CHOOSESPLASH), false);
}
- ReadIniConfig();
+ ReadDbConfig();
TCHAR inBuf[80];
DBVARIANT dbv = {0};
db_get_ts(NULL, MODNAME, "Path", &dbv);
|