[gnote] pre-increment the iterator.



commit c7f715560d9851ae228396b9f336edb71b70db1d
Author: Hubert Figuiere <hub figuiere net>
Date:   Tue May 5 20:06:57 2009 -0400

    pre-increment the iterator.
---
 src/notebooks/notebookapplicationaddin.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/notebooks/notebookapplicationaddin.cpp b/src/notebooks/notebookapplicationaddin.cpp
index 6b6ddf2..09a8789 100644
--- a/src/notebooks/notebookapplicationaddin.cpp
+++ b/src/notebooks/notebookapplicationaddin.cpp
@@ -273,7 +273,7 @@ namespace gnote {
           item->show_all ();
           menu->append (*item);
           menu_items.push_back(item);
-          iter++;
+          ++iter;
         }
       }
     }



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