summaryrefslogtreecommitdiffstats
path: root/source/dialogs/script.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-11-24 14:22:35 +0100
committerDave Davenport <qball@gmpclient.org>2015-11-24 14:22:35 +0100
commit00a555b6856fd6e9bebcc1c2c11747d7553da5fa (patch)
tree8e0e6bad275d1f7866796d7cb5831cc527691598 /source/dialogs/script.c
parent6978b146f014ad8339b89dceeb990be2f148c35e (diff)
Create more consistent ordering of arguments
Diffstat (limited to 'source/dialogs/script.c')
-rw-r--r--source/dialogs/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/script.c b/source/dialogs/script.c
index 179554f8..ec136b57 100644
--- a/source/dialogs/script.c
+++ b/source/dialogs/script.c
@@ -156,7 +156,7 @@ static void script_mode_destroy ( Switcher *sw )
sw->private_data = NULL;
}
}
-static char *mgrv ( unsigned int selected_line, const Switcher *sw, G_GNUC_UNUSED int *state, int get_entry )
+static char *mgrv ( const Switcher *sw, unsigned int selected_line, G_GNUC_UNUSED int *state, int get_entry )
{
ScriptModePrivateData *rmpd = sw->private_data;
return get_entry ? g_strdup ( rmpd->cmd_list[selected_line] ) : NULL;