summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src/oauth.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-11 13:40:09 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-11 13:40:09 +0300
commitc0ff932b9b6ba685160204fee0af84930f7aa922 (patch)
tree6b922da9dd5705c168d40f2eb691e453ddbf0713 /protocols/CloudFile/src/oauth.cpp
parent99584f314758d7ee3ef5faead704546ad0fdc10a (diff)
fixes #4975 (CloudFile: нужно убирать учётку из подменю в меню контакта при её отключении) + some code cleaning
Diffstat (limited to 'protocols/CloudFile/src/oauth.cpp')
-rw-r--r--protocols/CloudFile/src/oauth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/CloudFile/src/oauth.cpp b/protocols/CloudFile/src/oauth.cpp
index fb243d67e4..0986368742 100644
--- a/protocols/CloudFile/src/oauth.cpp
+++ b/protocols/CloudFile/src/oauth.cpp
@@ -14,7 +14,7 @@ bool COAuthDlg::OnInitDialog()
CCtrlLabel &ctrl = *(CCtrlLabel*)FindControl(IDC_AUTH_TEXT);
ptrW format(ctrl.GetText());
wchar_t text[MAX_PATH];
- mir_snwprintf(text, (const wchar_t*)format, m_service->GetUserName());
+ mir_snwprintf(text, (const wchar_t*)format, m_service->m_tszUserName);
ctrl.SetText(text);
return true;
}