summaryrefslogtreecommitdiff
path: root/protocols/MinecraftDynmap
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MinecraftDynmap')
-rw-r--r--protocols/MinecraftDynmap/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MinecraftDynmap/src/main.cpp b/protocols/MinecraftDynmap/src/main.cpp
index 02cd9c4603..09f6905e8e 100644
--- a/protocols/MinecraftDynmap/src/main.cpp
+++ b/protocols/MinecraftDynmap/src/main.cpp
@@ -47,7 +47,7 @@ PLUGININFOEX pluginInfo = {
// Protocol instances
static int compare_protos(const MinecraftDynmapProto *p1, const MinecraftDynmapProto *p2)
{
- return _tcscmp(p1->m_tszUserName, p2->m_tszUserName);
+ return wcscmp(p1->m_tszUserName, p2->m_tszUserName);
}
OBJLIST<MinecraftDynmapProto> g_Instances(1, compare_protos);