summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-12-02 15:31:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-12-02 15:31:50 +0000
commit281f79e6392c15a76689867ad21fde5700823b5c (patch)
treeb8566a88cc3b3f72422d453a73ec7081c0d5f1dc
parentd1e7a5d8f250c2b7e1545c54c06ae225bf482177 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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) {