Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=ae70fe8eafd36c15fb9b9463b47f1a4cc98cbfc1
commit ae70fe8eafd36c15fb9b9463b47f1a4cc98cbfc1
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date: Mon Jun 23 03:15:15 2008 +0200
xconfig: always call end_dialog() when bailing out with an error
closes #3083
diff --git a/xconfig/xconfig.c b/xconfig/xconfig.c
index 82eac4e..590cfc4 100644
--- a/xconfig/xconfig.c
+++ b/xconfig/xconfig.c
@@ -71,6 +71,7 @@ int run(int argc, char **argv)
{
dialog_msgbox(_("xinit missing"), _("Could not find xinit, please install "
"it with pacman -S xinit."), 0, 0, 1);
+ end_dialog();
return(1);
}
@@ -78,6 +79,7 @@ int run(int argc, char **argv)
{
dialog_msgbox(_("xmessage missing"), _("Could not find xmessage, please install
"
"it with pacman -S xmessage."), 0, 0, 1);
+ end_dialog();
return(1);
}
@@ -85,6 +87,7 @@ int run(int argc, char **argv)
{
dialog_msgbox(_("xsetroot missing"), _("Could not find xsetroot, please install
"
"it with pacman -S xsetroot."), 0, 0, 1);
+ end_dialog();
return(1);
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git