summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ZeroNotification/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ZeroNotification/src/main.cpp b/plugins/ZeroNotification/src/main.cpp
index f199aba221..d4f6283b28 100644
--- a/plugins/ZeroNotification/src/main.cpp
+++ b/plugins/ZeroNotification/src/main.cpp
@@ -228,13 +228,13 @@ extern "C" __declspec(dllexport) int Load(void)
CreateServiceFunction(MODNAME "/MenuCommand", NoSoundMenuCommand);
CMenuItem mi;
+ SET_UID(mi, 0x6bd635eb, 0xc4bb, 0x413b, 0xb9, 0x3, 0x81, 0x6d, 0x8f, 0xf1, 0x9b, 0xb0);
mi.position = -0x7FFFFFFF;
mi.flags = CMIF_UNICODE;
- UpdateMenuItem();
-
- SET_UID(mi, 0x6bd635eb, 0xc4bb, 0x413b, 0xb9, 0x3, 0x81, 0x6d, 0x8f, 0xf1, 0x9b, 0xb0);
mi.pszService = MODNAME "/MenuCommand";
noSoundMenu = Menu_AddMainMenuItem(&mi);
+
+ UpdateMenuItem();
}
HookEvent(ME_PROTO_ACK, ProtoAck);