[pan2] patch from steve davies (npe in action_combo) (thanks)



commit 07e4614a570a160ff54dac5c0c1d004cfe9e4663
Author: Heinrich MÃller <henmull src gnome org>
Date:   Thu Sep 20 07:06:47 2012 +0200

    patch from steve davies (npe in action_combo) (thanks)

 pan/gui/prefs-ui.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pan/gui/prefs-ui.cc b/pan/gui/prefs-ui.cc
index 2e9b2d3..e6806c3 100644
--- a/pan/gui/prefs-ui.cc
+++ b/pan/gui/prefs-ui.cc
@@ -1109,7 +1109,7 @@ PrefsDialog :: PrefsDialog (Prefs& prefs, GtkWindow* parent):
                                       "based on an article's score."));
 
     int i(0);
-    GtkWidget** action_combo = new GtkWidget*[2];
+    GtkWidget** action_combo = new GtkWidget*[3];
     char* tmp = _("Mark affected articles read");
     action_combo[i++] = new_check_button (tmp, "rules-autocache-mark-read", false, prefs);
     action_combo[i++] = new_check_button (tmp, "rules-autocache-mark-read", false, prefs);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]