summaryrefslogtreecommitdiff
path: root/Nudge/nudge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Nudge/nudge.cpp')
-rw-r--r--Nudge/nudge.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Nudge/nudge.cpp b/Nudge/nudge.cpp
index 0d603bb..73f831d 100644
--- a/Nudge/nudge.cpp
+++ b/Nudge/nudge.cpp
@@ -102,6 +102,8 @@ void CNudgeElement::Load(void)
_tcsncpy(this->recText,TranslateT("You received a nudge"),TEXT_LEN);
DBFreeVariant(&dbv);
}
+ else
+ _tcsncpy(this->recText,TranslateT("You received a nudge"),TEXT_LEN);
mir_snprintf(SectionName,512,"%s-senText", ProtocolName);
if(!DBGetContactSettingTString(NULL,"Nudge",SectionName,&dbv))
{
@@ -110,4 +112,6 @@ void CNudgeElement::Load(void)
_tcsncpy(this->senText,TranslateT("You sent a nudge"),TEXT_LEN);
DBFreeVariant(&dbv);
}
+ else
+ _tcsncpy(this->senText,TranslateT("You sent a nudge"),TEXT_LEN);
} \ No newline at end of file