diff options
-rw-r--r-- | mate-panel/panel-run-dialog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c index 4c525519..500fcb62 100644 --- a/mate-panel/panel-run-dialog.c +++ b/mate-panel/panel-run-dialog.c @@ -185,7 +185,8 @@ _panel_run_save_recent_programs_list (PanelRunDialog *dialog, } if (history_reverse) { - for (guint pos = 0; pos < items_added / 2; pos++) + guint pos; + for (pos = 0; pos < items_added / 2; pos++) { gchar const * tmp = items[pos + 1]; items[pos + 1] = items[items_added - pos]; |