projects
/
simple-launcher
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3c890
)
use .assign method of std::string
author
mishas
<mikhail.sobolev@gmail.com>
Wed, 6 Dec 2006 12:09:58 +0000
(12:09 +0000)
committer
mishas
<mikhail.sobolev@gmail.com>
Wed, 6 Dec 2006 12:09:58 +0000
(12:09 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@35
3ba93dab
-e023-0410-b42a-
de7732cf370a
launcher-item.cc
patch
|
blob
|
history
diff --git
a/launcher-item.cc
b/launcher-item.cc
index
12582d1
..
55227f3
100644
(file)
--- a/
launcher-item.cc
+++ b/
launcher-item.cc
@@
-19,7
+19,7
@@
inline std::string getStringWrapper(GKeyFile *keyFile, const gchar *group, const
std::string result;
if (tempo != 0) {
- result = tempo;
+ result.assign(tempo);
g_free(tempo);
}
@@
-32,7
+32,7
@@
inline std::string getLocaleStringWrapper(GKeyFile *keyFile, const gchar *group,
std::string result;
if (tempo != 0) {
- result = tempo;
+ result.assign(tempo);
g_free(tempo);
}