[regexxer] Fix missing end array NULL entries



commit fe081cdce9cd9dc0596bb504f5c2872e1c652a19
Author: Fabien Parent <parent f gmail com>
Date:   Sun Jul 13 14:02:13 2014 +0200

    Fix missing end array NULL entries

 src/mainwindow.cc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index b46ee78..fa8f40c 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -440,6 +440,7 @@ void MainWindow::init_actions()
     {"copy", "<Ctrl>C", sigc::mem_fun(*this, &MainWindow::on_copy)},
     {"paste", "<Ctrl>V", sigc::mem_fun(*this, &MainWindow::on_paste)},
     {"delete", NULL, sigc::mem_fun(*this, &MainWindow::on_erase)},
+    {0},
   };
 
   for (int i = 0; edit_actions[i].name; i++)
@@ -458,6 +459,7 @@ void MainWindow::init_actions()
   {
     {"save", "<Ctrl>S", sigc::mem_fun(*this, &MainWindow::on_save_file)},
     {"save-all", NULL, sigc::mem_fun(*this, &MainWindow::on_save_all)},
+    {0},
   };
 
   for (int i = 0; save_actions[i].name; i++)


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