diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-09-04 18:36:20 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-09-04 18:36:20 +0000 |
commit | 7f8ddf50658e4f5a7001dc01d37ed0bfdeddaee3 (patch) | |
tree | 5141e7a57d8d7f645f3030edfec5633c09cbc2d6 | |
parent | 5bbcac14ebe80a1b6e7a0bb0444d84ed623dae58 (diff) |
UNSET_UID macro
git-svn-id: http://svn.miranda-ng.org/main/trunk@15202 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | include/m_genmenu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/m_genmenu.h b/include/m_genmenu.h index 2581c59b0c..02301febec 100644 --- a/include/m_genmenu.h +++ b/include/m_genmenu.h @@ -58,8 +58,10 @@ struct TMO_MenuItem #if _MSC_VER <= 1600
#define SET_UID(M,A,B,C,D1,D2,D3,D4,D5,D6,D7,D8) { MUUID tmp = { A, B, C, {D1,D2,D3,D4,D5,D6,D7,D8}}; M.uid = tmp; }
+ #define UNSET_UID(M) { MUUID tmp = MIID_LAST; M.uid = tmp; }
#else
#define SET_UID(M,A,B,C,D1,D2,D3,D4,D5,D6,D7,D8) { M.uid = { A, B, C, {D1,D2,D3,D4,D5,D6,D7,D8}}; }
+#define UNSET_UID(M) { M.uid = MIID_LAST; }
#endif
#ifdef __cplusplus
|