From 491ce98cc4b794f5c23eabc88004e9540c011fd5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 11 Apr 2004 14:24:47 +0000 Subject: r162: Minor bugfixes: - Don't keep windows open after errors - Don't build ldb backend by default (This used to be commit 1bb64782c6585c02b8792d23b97d3da60aac844c) --- source4/lib/registry/tools/gregedit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source4/lib/registry/tools/gregedit.c') diff --git a/source4/lib/registry/tools/gregedit.c b/source4/lib/registry/tools/gregedit.c index b62fd7ec04..2d145e699a 100644 --- a/source4/lib/registry/tools/gregedit.c +++ b/source4/lib/registry/tools/gregedit.c @@ -242,7 +242,6 @@ GtkWidget* create_rpcwin (void) return rpcwin; } - static void on_open_nt4_activate (GtkMenuItem *menuitem, gpointer user_data) { gint result = gtk_dialog_run(GTK_DIALOG(create_openfilewin())); @@ -254,7 +253,7 @@ static void on_open_nt4_activate (GtkMenuItem *menuitem, gpointer user_data) error = reg_open("nt4", filename, NULL, ®istry); if(!W_ERROR_IS_OK(error)) { gtk_show_werror(error); - return; + break; } registry_load_root(); break; @@ -291,7 +290,7 @@ on_open_remote_activate (GtkMenuItem *menuitem, error = reg_open("rpc", location, credentials, ®istry); if(!W_ERROR_IS_OK(error)) { gtk_show_werror(error); - return; + break; } free(location); free(credentials); registry_load_root(); -- cgit