summaryrefslogtreecommitdiff
path: root/src/modules/clist/genmenuopt.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-16 12:19:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-16 12:19:24 +0000
commitac7bf920f219a7aed7eb163c8b3195e66c12e4da (patch)
treee0ac11ce212c61ac5ebe0e90f32853f71ac44f96 /src/modules/clist/genmenuopt.cpp
parentaafecc66f4056279e5ddccf7804b147b54167612 (diff)
fix for menu items' translation in the editor
git-svn-id: http://svn.miranda-ng.org/main/trunk@445 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/genmenuopt.cpp')
-rw-r--r--src/modules/clist/genmenuopt.cpp4
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 );