summaryrefslogtreecommitdiffstats
path: root/audio/swami/swami-menu-qsort-bug.patch
blob: f6119e420d26aefbcf7f1792db132d40ce72479b (plain)
--- 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++)
     {