diff --git a/contrib/camera/dialogs.cpp b/contrib/camera/dialogs.cpp index 07677e30..7d75bf76 100644 --- a/contrib/camera/dialogs.cpp +++ b/contrib/camera/dialogs.cpp @@ -598,8 +598,8 @@ static gint ci_add_target( GtkWidget *widget, gpointer data ){ } else if ( gtk_toggle_button_get_active( (GtkToggleButton*)interpolated ) ) { type = 1; - } - else if ( gtk_toggle_button_get_active( (GtkToggleButton*)spline ) ) { + } else { + assert( gtk_toggle_button_get_active( (GtkToggleButton*)spline ) ); type = 2; }