summaryrefslogtreecommitdiff
path: root/audio/swami/swami-menu-qsort-bug.patch
blob: f6119e420d26aefbcf7f1792db132d40ce72479b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/swamigui/SwamiguiMenu.c (revision 370)
+++ src/swamigui/SwamiguiMenu.c (working copy)
@@ -373,7 +373,7 @@
   menu = gtk_menu_new ();
 
   types = swami_util_get_child_types (IPATCH_TYPE_BASE, &n_types);
-  qsort (types, sizeof (GType), n_types, sort_by_type_name);
+  qsort (types, n_types, sizeof (GType), sort_by_type_name);
 
   for (ptype = types; *ptype; ptype++)
     {