diff options
author | monsta <[email protected]> | 2017-04-19 17:29:33 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-04-19 17:29:33 +0300 |
commit | 05e192158ea0ec58bb4876667c1ec8ddeb324078 (patch) | |
tree | 86ba7ca63e471321b3b91b63f04b79520d077fab | |
parent | d5ffd663755b88cc95b4b8bcccb06130b9653cf1 (diff) | |
download | mate-panel-05e192158ea0ec58bb4876667c1ec8ddeb324078.tar.bz2 mate-panel-05e192158ea0ec58bb4876667c1ec8ddeb324078.tar.xz |
fix build with gcc 4.9.2 (looks like it's in c89 mode by default)
-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]; |