summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/menu_options.cpp4
-rw-r--r--src/mir_app/src/menu_utils.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/menu_options.cpp b/src/mir_app/src/menu_options.cpp
index 9c9d5bee58..2a4908ce3c 100644
--- a/src/mir_app/src/menu_options.cpp
+++ b/src/mir_app/src/menu_options.cpp
@@ -81,7 +81,7 @@ class CGenMenuOptionsPage : public CDlgBase
m_menuItems.GetItem(&tvi);
MenuItemOptData *iod = (MenuItemOptData*)tvi.lParam;
if (TMO_IntMenuItem *pimi = iod->pimi) {
- if (!equalUUID(pimi->mi.uid, MIID_LAST)) {
+ if (!equalUUID(pimi->mi.uid, miid_last)) {
char menuItemName[256];
bin2hex(&pimi->mi.uid, sizeof(pimi->mi.uid), menuItemName);
@@ -162,7 +162,7 @@ class CGenMenuOptionsPage : public CDlgBase
TCHAR customName[201]; customName[0] = 0;
int visible = 1, pos = 0;
- if (!equalUUID(p->mi.uid, MIID_LAST)) {
+ if (!equalUUID(p->mi.uid, miid_last)) {
char menuItemName[256];
bin2hex(&p->mi.uid, sizeof(p->mi.uid), menuItemName);
ptrT tszSettings(db_get_tsa(NULL, pszModule, menuItemName));
diff --git a/src/mir_app/src/menu_utils.cpp b/src/mir_app/src/menu_utils.cpp
index ec0dd7bf22..db0a66bd5b 100644
--- a/src/mir_app/src/menu_utils.cpp
+++ b/src/mir_app/src/menu_utils.cpp
@@ -854,7 +854,7 @@ void GetMenuItemName(TMO_IntMenuItem *pMenuItem, char* pszDest, size_t cbDestSiz
static int sttDumpItem(TMO_IntMenuItem *pmi, void *szModule)
{
- if (!equalUUID(pmi->mi.uid, MIID_LAST)) {
+ if (!equalUUID(pmi->mi.uid, miid_last)) {
char menuItemName[200];
bin2hex(&pmi->mi.uid, sizeof(pmi->mi.uid), menuItemName);
@@ -927,7 +927,7 @@ static HMENU BuildRecursiveMenu(HMENU hMenu, TMO_IntMenuItem *pRootMenu, WPARAM
else mi->position = pos;
}
else {
- if (!equalUUID(mi->uid, MIID_LAST)) {
+ if (!equalUUID(mi->uid, miid_last)) {
bin2hex(&mi->uid, sizeof(mi->uid), menuItemName);
ptrT szValue(db_get_tsa(NULL, szModule, menuItemName));
if (szValue != NULL) {