diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-10-26 20:55:17 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-10-26 20:55:17 +0000 |
commit | 392ce637b128246eba3d4ecd69598445c3ce5057 (patch) | |
tree | e80c9895713af709a1def91e97d717bc815ca33f /plugins/MirLua/src/m_genmenu.cpp | |
parent | db06ea9ec3e0df797b3b1aab25be70b325cbd8cf (diff) |
MirLua: fix previous commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@15622 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_genmenu.cpp')
-rw-r--r-- | plugins/MirLua/src/m_genmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_genmenu.cpp b/plugins/MirLua/src/m_genmenu.cpp index c8f57691f9..ddc04b5549 100644 --- a/plugins/MirLua/src/m_genmenu.cpp +++ b/plugins/MirLua/src/m_genmenu.cpp @@ -21,7 +21,7 @@ void MakeMenuItem(lua_State *L, CMenuItem &mi) unsigned short b, c;
unsigned char d[8];
if (sscanf_s(uuid, "{%08lX-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}",
- &a, &b, &c, &d[0], &d[1], &d[2], &d[3], &d[4], &d[5], &d[6], &d[7]) == 11)
+ &mi.uid.a, &mi.uid.b, &mi.uid.c, &mi.uid.d[0], &mi.uid.d[1], &mi.uid.d[2], &mi.uid.d[3], &mi.uid.d[4], &mi.uid.d[5], &mi.uid.d[6], &mi.uid.d[7]) == 11)
SET_UID(mi, a, b, c, d[0], d[1], d[2], d[3], d[4], d[5], d[6], d[7]);
}
lua_pop(L, 1);
|