summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/tools.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-01-20 13:19:01 +0000
committerRobert Pösel <robyer@seznam.cz>2014-01-20 13:19:01 +0000
commit5bd49f38edd0b890a832bdf40dd0b7fdaf82b144 (patch)
treefc31708a54b353d6596c4ae37906ac9528895c1f /protocols/Xfire/src/tools.cpp
parente6bbc380e84a748242748ba3177e8def969a76cc (diff)
XFire: use constant for plugin title
git-svn-id: http://svn.miranda-ng.org/main/trunk@7784 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/tools.cpp')
-rw-r--r--protocols/Xfire/src/tools.cpp8
1 files changed, 4 insertions, 4 deletions
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;
}
}