summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_genmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/m_genmenu.cpp')
-rw-r--r--plugins/MirLua/src/m_genmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_genmenu.cpp b/plugins/MirLua/src/m_genmenu.cpp
index df9e1a4694..619925891e 100644
--- a/plugins/MirLua/src/m_genmenu.cpp
+++ b/plugins/MirLua/src/m_genmenu.cpp
@@ -16,7 +16,7 @@ void MakeMenuItem(lua_State *L, CMenuItem &mi)
lua_gettable(L, -2);
const char* uuid = (char*)lua_tostring(L, -1);
if (uuid == NULL || CLSIDFromString((LPCOLESTR)ptrT(mir_utf8decodeT(uuid)), (LPCLSID)&mi.uid) != NOERROR)
- CoCreateGuid((LPCLSID)&mi.uid);
+ UNSET_UID(mi);
lua_pop(L, 1);
lua_pushliteral(L, "Name");