[med-svn] [SCM] aghermann branch, master, updated. 65add7a81ffcf60b3e754aadd631a766286c9c6a

Andrei Zavada johnhommer at gmail.com
Sun Apr 7 16:50:55 UTC 2013


The following commit has been merged in the master branch:
commit ff010d9f838af38e00e2e8b9dea1b3bbe3936c25
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sun Apr 7 12:05:47 2013 +0300

    leave __buf__ alone in sb_main_progress_indicator

diff --git a/src/ui/mw/mw.cc b/src/ui/mw/mw.cc
index 7236242..5af78bd 100644
--- a/src/ui/mw/mw.cc
+++ b/src/ui/mw/mw.cc
@@ -552,8 +552,9 @@ void
 aghui::SExpDesignUI::
 sb_main_progress_indicator( const char* current, size_t n, size_t i, aghui::TGtkRefreshMode mode)
 {
-	snprintf_buf( "(%zu of %zu) %s", i, n, current);
-	sb_message( __buf__);
+	DEF_UNIQUE_CHARP (b);
+	ASPRINTF( &b, "(%zu of %zu) %s", i, n, current);
+	sb_message( b);
 
 	switch ( mode ) {
 	case TGtkRefreshMode::gtk:

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list