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

Andrei Zavada johnhommer at gmail.com
Sun Feb 3 12:53:01 UTC 2013


The following commit has been merged in the master branch:
commit 19d1344adc132e6e6def60f73ba36c54686476ef
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Tue Jan 29 19:28:02 2013 +0200

    fix a warning

diff --git a/src/ui/sf/d/patterns_cb.cc b/src/ui/sf/d/patterns_cb.cc
index 000d651..723e8ef 100644
--- a/src/ui/sf/d/patterns_cb.cc
+++ b/src/ui/sf/d/patterns_cb.cc
@@ -392,7 +392,7 @@ wSFFD_hide_cb( GtkWidget *widget, gpointer userdata)
 	auto& FD = *(SScoringFacility::SPatternsDialog*)userdata;
 	auto& SF = FD._p;
 
-	if ( not FD.occurrences.empty() ) // closing while dialog is in matching state
+	if ( not FD.occurrences.empty() ) { // closing while dialog is in matching state
 		if ( GTK_RESPONSE_YES !=
 		     aghui::pop_question( SF.wSF, "Keep annotations?") )
 			FD.restore_annotations();
@@ -400,6 +400,7 @@ wSFFD_hide_cb( GtkWidget *widget, gpointer userdata)
 			SF._p.populate_mGlobalAnnotations();
 			SF.queue_redraw_all();
 		}
+	}
 
 	gtk_toggle_button_set_active( (GtkToggleButton*)FD.field_channel->_p.bSFShowFindDialog, FALSE);
 }

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list