db61aac254
Spotted by latest NetBSD 1.6.2/i386 kristerw@'s bulk build.
21 lines
725 B
Text
21 lines
725 B
Text
$NetBSD: patch-ad,v 1.1 2005/01/13 19:48:50 jmmv Exp $
|
|
|
|
--- src/generate.c.orig 2004-04-27 01:58:50.000000000 +0200
|
|
+++ src/generate.c
|
|
@@ -113,6 +113,7 @@ const char *generate_display_dialog()
|
|
GtkWidget *dialog;
|
|
char *result = NULL;
|
|
GtkWidget *checkbutton;
|
|
+ int r;
|
|
|
|
xml = glade_xml_new(PACKAGE_DATA_DIR"/generate-password-dialog.glade",
|
|
NULL, NULL);
|
|
@@ -142,7 +143,7 @@ const char *generate_display_dialog()
|
|
dialog = glade_xml_get_widget(xml, "generate_password_dialog");
|
|
g_assert(dialog != NULL);
|
|
|
|
- int r = gtk_dialog_run(GTK_DIALOG(dialog));
|
|
+ r = gtk_dialog_run(GTK_DIALOG(dialog));
|
|
switch (r) {
|
|
case GTK_RESPONSE_OK :
|
|
result = generate_password_generated;
|