diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-02 17:24:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-02 17:24:17 +0000 |
commit | f4ab8d1b8466efaed401a75a1d181fc45ff43d5e (patch) | |
tree | f15641c117669cc761b96f57e080b40b444f098e /src/modules/extraicons/ExtraIcon.cpp | |
parent | 91c7f53e2c4182100a9c8392652780dc3cd31094 (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.cpp | 4 |
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
|