This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch master
in repository aghermann.

commit eeb235a8df8b4916b14415ef0a07a3cce0c3648d
Author: Andrei Zavada <[email protected]>
Date:   Sun Aug 4 01:02:24 2013 +0300

    use sasprintf where appropriate
---
 src/aghermann/ui/mw/loadsave.cc |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/aghermann/ui/mw/loadsave.cc b/src/aghermann/ui/mw/loadsave.cc
index 7a7e3d2..4cea919 100644
--- a/src/aghermann/ui/mw/loadsave.cc
+++ b/src/aghermann/ui/mw/loadsave.cc
@@ -157,11 +157,8 @@ save_settings()
 {
        libconfig::Config conf;
 
-       _geometry_placeholder.assign(
-               to_string( geometry.w) + 'x'
-               + to_string( geometry.h) + '+'
-               + to_string( geometry.x) + '+'
-               + to_string( geometry.y));
+       _geometry_placeholder = agh::str::sasprintf(
+               "%dx%d+%d+%d", geometry.w, geometry.h, geometry.x, geometry.y);
        _aghtt_placeholder = AghT();
        _aghdd_placeholder = AghD();
 

-- 
Alioth's /git/debian-med/git-commit-notice on 
/srv/git.debian.org/git/debian-med/aghermann.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to