diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
commit | 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch) | |
tree | df4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/gui/userpalette.cpp | |
parent | 9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff) | |
download | plus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz plus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2 plus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz plus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip |
improve a bit strings declaration.
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r-- | src/gui/userpalette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp index 13bbdced4..75b0f5898 100644 --- a/src/gui/userpalette.cpp +++ b/src/gui/userpalette.cpp @@ -75,7 +75,7 @@ const std::string ColorTypeNames[] = std::string UserPalette::getConfigName(const std::string &typeName) { - std::string res = "Color" + typeName; + std::string res("Color" + typeName); size_t pos = 5; for (size_t i = 0; i < typeName.length(); i++) { |