slackbuilds_ponce/audio/swami/swami-menu-qsort-bug.patch

13 lines
385 B
Diff
Raw Normal View History

--- 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++)
{