From 5bd49f38edd0b890a832bdf40dd0b7fdaf82b144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 20 Jan 2014 13:19:01 +0000 Subject: XFire: use constant for plugin title git-svn-id: http://svn.miranda-ng.org/main/trunk@7784 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/tools.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Xfire/src/tools.cpp') diff --git a/protocols/Xfire/src/tools.cpp b/protocols/Xfire/src/tools.cpp index 1d0cd55127..a778c09ecf 100644 --- a/protocols/Xfire/src/tools.cpp +++ b/protocols/Xfire/src/tools.cpp @@ -162,7 +162,7 @@ void Message(LPVOID msg) case 1: return; case 2: - displayPopup(NULL,(LPCSTR)msg,"Miranda XFire Protocol Plugin",MB_OK); + displayPopup(NULL, (LPCSTR)msg, PLUGIN_TITLE, MB_OK); return; } @@ -171,14 +171,14 @@ void Message(LPVOID msg) mbp.hwndOwner=NULL; mbp.hInstance=hinstance; mbp.lpszText=(char*)msg; - mbp.lpszCaption="Miranda XFire Protocol Plugin"; + mbp.lpszCaption = PLUGIN_TITLE; mbp.dwStyle=MB_USERICON; mbp.lpszIcon=MAKEINTRESOURCEA(IDI_TM); mbp.dwContextHelpId=NULL; mbp.lpfnMsgBoxCallback=NULL; mbp.dwLanguageId=LANG_ENGLISH; MessageBoxIndirectA(&mbp); - //MessageBoxA(0,(char*)msg,"Miranda XFire Protocol Plugin",MB_OK|MB_ICONINFORMATION); + //MessageBoxA(0,(char*)msg,PLUGIN_TITLE,MB_OK|MB_ICONINFORMATION); } void MessageE(LPVOID msg) @@ -195,7 +195,7 @@ void MessageE(LPVOID msg) } break; case 2: - displayPopup(NULL,(LPCSTR)msg,"Miranda XFire Protocol Plugin",MB_OK|MB_ICONSTOP); + displayPopup(NULL, (LPCSTR)msg, PLUGIN_TITLE, MB_OK | MB_ICONSTOP); break; } } -- cgit v1.2.3