diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MenuItemEx/src/main.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 4382ca23ea..edc4d54edd 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -283,14 +283,7 @@ void GetID(MCONTACT hContact, LPSTR szProto, LPSTR szID) else if (dbv_uniqueid.type == DBVT_WORD)
wsprintfA(szID, "%u", dbv_uniqueid.wVal); //!!!!!!!!!
else if (dbv_uniqueid.type == DBVT_BLOB)
- {
- for (int i = 0; i < dbv_uniqueid.cpbVal; i++)
- {
- char tmp[3];
- mir_snprintf(tmp, SIZEOF(tmp), "%02X", (BYTE)dbv_uniqueid.pbVal[i]);
- strcat(szID, tmp); //!!!!!!!!!
- }
- }
+ wsprintfA(szID, "%s", dbv_uniqueid.cpbVal); //!!!!!!!!!
else
wsprintfA(szID, "%s", dbv_uniqueid.pszVal); //!!!!!!!!
|