summaryrefslogtreecommitdiff
path: root/src/mir_app/src/proto_opts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/proto_opts.cpp')
-rw-r--r--src/mir_app/src/proto_opts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/proto_opts.cpp b/src/mir_app/src/proto_opts.cpp
index ca48ba145e..d7090a080f 100644
--- a/src/mir_app/src/proto_opts.cpp
+++ b/src/mir_app/src/proto_opts.cpp
@@ -1014,8 +1014,8 @@ static int OnAccListChanged(WPARAM eventCode, LPARAM lParam)
replaceStrW(pa->ppro->m_tszUserName, pa->tszAccountName);
pa->ppro->OnEvent(EV_PROTO_ONRENAME, 0, lParam);
- if (pa->ppro->m_hMainMenuItem)
- Menu_ModifyItem(pa->ppro->m_hMainMenuItem, pa->tszAccountName);
+ if (pa->ppro->m_hmiMainMenu)
+ Menu_ModifyItem(pa->ppro->m_hmiMainMenu, pa->tszAccountName);
}
}