diff options
Diffstat (limited to 'protocols/MinecraftDynmap/src')
-rw-r--r-- | protocols/MinecraftDynmap/src/proto.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/MinecraftDynmap/src/proto.cpp b/protocols/MinecraftDynmap/src/proto.cpp index 7cfa8e533c..3375654557 100644 --- a/protocols/MinecraftDynmap/src/proto.cpp +++ b/protocols/MinecraftDynmap/src/proto.cpp @@ -49,7 +49,9 @@ MinecraftDynmapProto::MinecraftDynmapProto(const char* proto_name, const TCHAR* nlu.ptszDescriptiveName = descr; m_hNetlibUser = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu); if (m_hNetlibUser == NULL) { - MessageBox(NULL, TranslateT("Unable to get Netlib connection for Minecraft Dynmap"), m_tszUserName, MB_OK); + TCHAR error[200]; + mir_sntprintf(error, SIZEOF(error), TranslateT("Unable to initialize Netlib for %s."), m_tszUserName); + MessageBox(NULL, error, _T("Miranda NG"), MB_OK | MB_ICONERROR); } // Http connection handles |