diff options
Diffstat (limited to 'src/modules/clist/genmenuopt.cpp')
-rw-r--r-- | src/modules/clist/genmenuopt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/clist/genmenuopt.cpp b/src/modules/clist/genmenuopt.cpp index 3937306464..ed58a53145 100644 --- a/src/modules/clist/genmenuopt.cpp +++ b/src/modules/clist/genmenuopt.cpp @@ -265,11 +265,11 @@ static int BuildTree(HWND hwndDlg, int MenuObjectId, BOOL bReread) PD->name = mir_tstrdup( dbv.ptszVal );
DBFreeVariant( &dbv );
}
- else PD->name = mir_tstrdup( p->mi.ptszName );
+ else PD->name = mir_tstrdup( GetMenuItemText(p));
}
PD->pimi = p;
- PD->defname = mir_tstrdup( p->mi.ptszName );
+ PD->defname = mir_tstrdup( GetMenuItemText(p));
mir_snprintf( buf, SIZEOF(buf), "%s_visible", menuItemName );
PD->show = DBGetContactSettingByte( NULL, MenuNameItems, buf, 1 );
|