summaryrefslogtreecommitdiff
path: root/src/modules/extraicons/ExtraIcon.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-02 17:24:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-02 17:24:17 +0000
commitf4ab8d1b8466efaed401a75a1d181fc45ff43d5e (patch)
treef15641c117669cc761b96f57e080b40b444f098e /src/modules/extraicons/ExtraIcon.cpp
parent91c7f53e2c4182100a9c8392652780dc3cd31094 (diff)
minus std::string & 3 std::vectors
git-svn-id: http://svn.miranda-ng.org/main/trunk@7461 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/extraicons/ExtraIcon.cpp')
-rw-r--r--src/modules/extraicons/ExtraIcon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extraicons/ExtraIcon.cpp b/src/modules/extraicons/ExtraIcon.cpp
index 7354a8ad6b..197da8976f 100644
--- a/src/modules/extraicons/ExtraIcon.cpp
+++ b/src/modules/extraicons/ExtraIcon.cpp
@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA.
#include "extraicons.h"
ExtraIcon::ExtraIcon(const char *name) :
- name(name), slot(-1), position(1000), hLangpack(0)
+ szName(mir_strdup(name)), slot(-1), position(1000), hLangpack(0)
{
}
@@ -34,7 +34,7 @@ ExtraIcon::~ExtraIcon()
const char *ExtraIcon::getName() const
{
- return name.c_str();
+ return szName;
}
int ExtraIcon::getSlot() const