From bda0a5003bd614cda29d41cda6d82f99eda296f1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 31 Aug 2022 16:58:29 +0300 Subject: =?UTF-8?q?fixes=20#3174=20(VoiceService:=20=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D1=82=D1=83=D1=81=20=D0=B2=20=D0=BE=D0=BA=D0=BD=D0=B5=20=D0=B2?= =?UTF-8?q?=D1=8B=D0=B7=D0=BE=D0=B2=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/VoiceService/src/VoiceCall.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/VoiceService') 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; -- cgit v1.2.3