diff options
author | George Hazan <george.hazan@gmail.com> | 2016-03-03 14:07:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-03-03 14:07:30 +0000 |
commit | 44223012ce0fa631cc5af6fc588166bccc3a66f6 (patch) | |
tree | ce2964a947203e59056e7987dc675c21d291b222 /plugins/SmileyAdd/src/customsmiley.cpp | |
parent | 5357bfc0d1ca654ae51f71ca67a8faad0d5b5264 (diff) |
- more obsolete shit removed;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16404 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/customsmiley.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/customsmiley.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/SmileyAdd/src/customsmiley.cpp b/plugins/SmileyAdd/src/customsmiley.cpp index e46cb4a4cd..0a6be1ca46 100644 --- a/plugins/SmileyAdd/src/customsmiley.cpp +++ b/plugins/SmileyAdd/src/customsmiley.cpp @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. SmileyPackCListType g_SmileyPackCStore;
-bool SmileyPackCListType::AddSmileyPack(MCONTACT hContact, TCHAR* dir)
+bool SmileyPackCListType::AddSmileyPack(MCONTACT hContact, TCHAR *dir)
{
bool res = true;
if (GetSmileyPack(hContact) == NULL) {
@@ -36,7 +36,7 @@ bool SmileyPackCListType::AddSmileyPack(MCONTACT hContact, TCHAR* dir) return res;
}
-bool SmileyPackCListType::AddSmiley(MCONTACT hContact, TCHAR* path)
+bool SmileyPackCListType::AddSmiley(MCONTACT hContact, TCHAR *path)
{
SmileyPackCType *smpack = GetSmileyPack(hContact);
if (smpack == NULL) {
@@ -59,13 +59,13 @@ SmileyPackCType* SmileyPackCListType::GetSmileyPack(MCONTACT id) }
-SmileyCType::SmileyCType(const CMString& fullpath, const TCHAR* filepath)
+SmileyCType::SmileyCType(const CMString &fullpath, const TCHAR *filepath)
{
LoadFromResource(fullpath, 0);
CreateTriggerText(_T2A(filepath));
}
-bool SmileyCType::CreateTriggerText(char* text)
+bool SmileyCType::CreateTriggerText(char *text)
{
UrlDecode(text);
@@ -93,7 +93,7 @@ bool SmileyCType::CreateTriggerText(char* text) // SmileyPackCType
//
-bool SmileyPackCType::LoadSmileyDir(TCHAR* dir)
+bool SmileyPackCType::LoadSmileyDir(TCHAR *dir)
{
CMString dirs = dir;
dirs += _T("\\*.*");
@@ -105,7 +105,7 @@ bool SmileyPackCType::LoadSmileyDir(TCHAR* dir) if (c_file.name[0] != '.') {
CMString fullpath = dir;
fullpath = fullpath + _T("\\") + c_file.name;
- TCHAR* div = _tcsrchr(c_file.name, '.');
+ TCHAR *div = _tcsrchr(c_file.name, '.');
if (div) {
*div = 0;
SmileyCType *smlc = new SmileyCType(fullpath, c_file.name);
|