diff options
Diffstat (limited to 'src/modules/clist')
-rw-r--r-- | src/modules/clist/clistmenus.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp index a2487c77d3..2de2d14240 100644 --- a/src/modules/clist/clistmenus.cpp +++ b/src/modules/clist/clistmenus.cpp @@ -1129,7 +1129,7 @@ int fnConvertMenu(CLISTMENUITEM* mi, TMO_MenuItem* pmi) if (mi == NULL || pmi == NULL)
return FALSE;
- if (mi->cbSize != sizeof(CLISTMENUITEM) && mi->cbSize != CLISTMENUITEM_OLDSIZE_V1)
+ if (mi->cbSize != sizeof(CLISTMENUITEM))
return FALSE;
memset(pmi, 0, sizeof(TMO_MenuItem));
@@ -1140,9 +1140,7 @@ int fnConvertMenu(CLISTMENUITEM* mi, TMO_MenuItem* pmi) pmi->hotKey = mi->hotKey;
pmi->pszName = mi->pszName;
pmi->position = mi->position;
- if (mi->cbSize == sizeof(CLISTMENUITEM))
- pmi->hLangpack = mi->hLangpack;
-
+ pmi->hLangpack = mi->hLangpack;
return TRUE;
}
|