From 428bf0cbd77813a43094cb5c984436deff251936 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jul 2016 12:36:34 +0000 Subject: no more TCHARs git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Nudge/src/nudge.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Nudge/src/nudge.cpp') diff --git a/plugins/Nudge/src/nudge.cpp b/plugins/Nudge/src/nudge.cpp index 7c0ac3646b..9dc4476a54 100644 --- a/plugins/Nudge/src/nudge.cpp +++ b/plugins/Nudge/src/nudge.cpp @@ -50,9 +50,9 @@ void CNudgeElement::Save(void) mir_snprintf(SectionName, "%s-statusFlags", ProtocolName); db_set_dw(NULL, MODULENAME, SectionName, this->statusFlags); mir_snprintf(SectionName, "%s-recText", ProtocolName); - db_set_ts(NULL, MODULENAME, SectionName, this->recText); + db_set_ws(NULL, MODULENAME, SectionName, this->recText); mir_snprintf(SectionName, "%s-senText", ProtocolName); - db_set_ts(NULL, MODULENAME, SectionName, this->senText); + db_set_ws(NULL, MODULENAME, SectionName, this->senText); } void CNudgeElement::Load(void) @@ -81,7 +81,7 @@ void CNudgeElement::Load(void) this->statusFlags = db_get_dw(NULL, MODULENAME, SectionName, 967); mir_snprintf(SectionName, "%s-recText", ProtocolName); - if (!db_get_ts(NULL, MODULENAME, SectionName, &dbv)) { + if (!db_get_ws(NULL, MODULENAME, SectionName, &dbv)) { wcsncpy(this->recText, dbv.ptszVal, TEXT_LEN); if (wcslen(this->recText) < 1) wcsncpy(this->recText, TranslateT("You received a nudge"), TEXT_LEN); @@ -90,7 +90,7 @@ void CNudgeElement::Load(void) else wcsncpy(this->recText, TranslateT("You received a nudge"), TEXT_LEN); mir_snprintf(SectionName, "%s-senText", ProtocolName); - if (!db_get_ts(NULL, MODULENAME, SectionName, &dbv)) { + if (!db_get_ws(NULL, MODULENAME, SectionName, &dbv)) { wcsncpy(this->senText, dbv.ptszVal, TEXT_LEN); if (wcslen(this->senText) < 1) wcsncpy(this->senText, TranslateT("You sent a nudge"), TEXT_LEN); -- cgit v1.2.3