diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-01 10:21:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-01 10:21:56 +0000 |
commit | a41c9020b7fcbc4d05fcb37097177cc0efc7cdce (patch) | |
tree | 5bda74986883a9152123474152c6546547211b9d /plugins/Variables/variables.cpp | |
parent | 0ae8779546586eba91408d03949d45ec9ced5133 (diff) |
db_helpers.cpp deleted
git-svn-id: http://svn.miranda-ng.org/main/trunk@708 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/variables.cpp')
-rw-r--r-- | plugins/Variables/variables.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Variables/variables.cpp b/plugins/Variables/variables.cpp index f5666b4279..9a451fb671 100644 --- a/plugins/Variables/variables.cpp +++ b/plugins/Variables/variables.cpp @@ -541,9 +541,9 @@ int setParseOptions(struct ParseOptions *po) { po = &gParseOpts;
}
ZeroMemory(po, sizeof(struct ParseOptions));
- if (!db_getb(SETTING_STRIPALL, 0)) {
- po->bStripEOL = db_getb(SETTING_STRIPCRLF, 0);
- po->bStripWS = db_getb(SETTING_STRIPWS, 0);
+ if (!db_get_b(NULL, MODULENAME, SETTING_STRIPALL, 0)) {
+ po->bStripEOL = db_get_b(NULL, MODULENAME, SETTING_STRIPCRLF, 0);
+ po->bStripWS = db_get_b(NULL, MODULENAME, SETTING_STRIPWS, 0);
}
else {
po->bStripAll = TRUE;
@@ -607,10 +607,10 @@ int LoadVarModule() log_debugA("Variables: Internal tokens registered");
- if (db_getb(SETTING_PARSEATSTARTUP, 0)) {
+ if (db_get_b(NULL, MODULENAME, SETTING_PARSEATSTARTUP, 0)) {
FORMATINFO fi = { 0 };
fi.cbSize = sizeof(fi);
- fi.tszFormat = db_gets(SETTING_STARTUPTEXT, NULL);
+ fi.tszFormat = db_get_tsa(NULL, MODULENAME, SETTING_STARTUPTEXT);
if (fi.tszFormat != NULL) {
freeMemory((WPARAM)formatString(&fi), 0);
mir_free(fi.tszFormat);
|