summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index 15eff038..25fe83b0 100755
--- a/control-center
+++ b/control-center
@@ -404,7 +404,7 @@ my @menu_items = (
gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub {
my $profile2delete = $combo_dialog->entry->get_text;
if ($profile2delete eq $netcnx->{PROFILE}) {
- !err_dialog(N("Warning"), N("You can not delete the current profile"));
+ err_dialog(N("Warning"), N("You can not delete the current profile"));
return 1;
}
$dialog->destroy;
@@ -463,7 +463,7 @@ sub update_profiles {
$done = 0;
enable_profile_entry($prof, 1);
$done = 1;
- return
+ return 0;
}
if (!warn_dialog(N("Warning"),
N("We are about to switch from the \"%s\" profile to the \"%s\" profile.