diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-04 22:23:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-04 22:23:23 +0000 |
commit | dc58876a244067b91cd927dad812a8f812a61712 (patch) | |
tree | 9e1a04f5f3fcfc02519f72087c597e63399a6e7b /plugins/Scriver/src/chat/options.cpp | |
parent | ca88cf375915e8da3e9c461bdc4b21ebb383fe05 (diff) |
Scriver suddenly has its own replaceStrA/replaceStrT functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@7505 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/chat/options.cpp')
-rw-r--r-- | plugins/Scriver/src/chat/options.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/Scriver/src/chat/options.cpp b/plugins/Scriver/src/chat/options.cpp index 35a34aac4b..2d5370980f 100644 --- a/plugins/Scriver/src/chat/options.cpp +++ b/plugins/Scriver/src/chat/options.cpp @@ -225,21 +225,20 @@ static INT CALLBACK BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lp, LPARAM p void LoadLogFonts(void)
{
- int i;
- for ( i = 0; i<OPTIONS_FONTCOUNT; i++)
+ for (int i = 0; i<OPTIONS_FONTCOUNT; i++)
LoadMsgDlgFont(i, &aFonts[i].lf, &aFonts[i].color, TRUE);
}
-static void InitSetting(TCHAR** ppPointer, char* pszSetting, TCHAR* pszDefault)
+static void InitSetting(TCHAR **ppPointer, char *pszSetting, TCHAR *pszDefault)
{
DBVARIANT dbv;
if ( !db_get_ts(NULL, "Chat", pszSetting, &dbv )) {
- replaceStr( ppPointer, dbv.ptszVal );
+ replaceStrT(*ppPointer, dbv.ptszVal);
db_free(&dbv);
}
- else replaceStr( ppPointer, pszDefault );
- }
+ else replaceStrT(*ppPointer, pszDefault);
+}
#define OPT_FIXHEADINGS (WM_USER+1)
|