diff options
Diffstat (limited to 'plugins/Msg_Export')
-rwxr-xr-x | plugins/Msg_Export/src/options.cpp | 4 | ||||
-rwxr-xr-x | plugins/Msg_Export/src/utils.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp index a691f2da31..ca57895617 100755 --- a/plugins/Msg_Export/src/options.cpp +++ b/plugins/Msg_Export/src/options.cpp @@ -418,10 +418,10 @@ BOOL bApplyChanges( HWND hwndDlg ) if (_tcslen( szTemp) > 0 )
db_set_ts( hUser, MODULE, "FileName", szTemp );
else
- DBDeleteContactSetting( hUser, MODULE, "FileName" );
+ db_unset( hUser, MODULE, "FileName" );
if (sItem.iImage )
- DBDeleteContactSetting( hUser, MODULE, "EnableLog" ); // default is Enabled !!
+ db_unset( hUser, MODULE, "EnableLog" ); // default is Enabled !!
else
db_set_b( hUser, MODULE, "EnableLog",0);
}
diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index f614520b28..b525503d2a 100755 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -283,7 +283,7 @@ tstring _DBGetStringW(HANDLE hContact,const char *szModule,const char *szSetting {
tstring ret;
DBVARIANT dbv = {0};
- //DBGetContactSetting
+ //db_get
if ( !db_get_ws( hContact, szModule, szSetting, &dbv))
{
if (dbv.type != DBVT_WCHAR)
|