summaryrefslogtreecommitdiff
path: root/plugins/VoiceService
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/VoiceService')
-rw-r--r--plugins/VoiceService/src/VoiceCall.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/VoiceService/src/VoiceCall.cpp b/plugins/VoiceService/src/VoiceCall.cpp
index 2f47b2d79f..56be10ec6e 100644
--- a/plugins/VoiceService/src/VoiceCall.cpp
+++ b/plugins/VoiceService/src/VoiceCall.cpp
@@ -212,7 +212,6 @@ void VoiceCall::SetState(int aState)
RemoveNotifications();
- wchar_t text[512];
switch (state) {
case VOICE_STATE_TALKING:
m_calltimer.Start(1000);
@@ -240,8 +239,7 @@ void VoiceCall::SetState(int aState)
break;
case VOICE_STATE_ENDED:
m_calltimer.Stop();
- mir_snwprintf(text, _countof(text), TranslateT("Call ended %s"), m_lblStatus.GetText());
- m_lblStatus.SetText(text);
+ m_lblStatus.SetText(TranslateT("Call ended"));
m_btnAnswer.Enable(false);
m_btnDrop.SetText(TranslateT("Close"));
break;