summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/windows/identity/ui/credwnd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/windows/identity/ui/credwnd.c b/src/windows/identity/ui/credwnd.c
index 5e9740ecd..5b246806d 100644
--- a/src/windows/identity/ui/credwnd.c
+++ b/src/windows/identity/ui/credwnd.c
@@ -3603,6 +3603,8 @@ cw_kmq_wm_dispatch(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
cw_update_extents(tbl, TRUE);
InvalidateRect(hwnd, NULL, FALSE);
+ cb = sizeof(idname);
+
if (KHM_SUCCEEDED(kcdb_identity_get_default(&defid)) &&
defid != NULL &&
KHM_SUCCEEDED(kcdb_identity_get_name(defid, idname, &cb)) &&