chiark / gitweb /
Correct row count in login window
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 28 Jun 2008 18:04:29 +0000 (19:04 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 28 Jun 2008 18:04:29 +0000 (19:04 +0100)
disobedience/login.c

index 63e284b..df82672 100644 (file)
@@ -226,7 +226,7 @@ void login_box(void) {
                   G_CALLBACK(gtk_widget_destroyed), &login_window);
   gtk_window_set_title(GTK_WINDOW(login_window), "Login Details");
   /* Construct the form */
-  table = gtk_table_new(NLWIS + 1/*rows*/, 2/*columns*/, FALSE/*homogenous*/);
+  table = gtk_table_new(NLWIS/*rows*/, 2/*columns*/, FALSE/*homogenous*/);
   gtk_widget_set_style(table, tool_style);
   for(n = 0; n < NLWIS; ++n) {
     label = gtk_label_new(lwis[n].description);