X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fkeyword.cc;h=b273df2d6e2dbcb1d25bd645cdbbdeb94bcbe154;hb=1cf3d59c1559fb9774c4c1c8cae155cfe54a927c;hp=43c87d95b5573877bfa4d7bcb6793d9a79274302;hpb=1e95a0be01466d1c98644f7705c8e07e41cc645c;p=lilypond.git diff --git a/lily/keyword.cc b/lily/keyword.cc index 43c87d95b5..b273df2d6e 100644 --- a/lily/keyword.cc +++ b/lily/keyword.cc @@ -13,7 +13,7 @@ int tabcmp (void const * p1, void const * p2) { return strcmp (((Keyword_ent const *) p1)->name, - ((Keyword_ent const *) p2)->name); + ((Keyword_ent const *) p2)->name); } Keyword_table::Keyword_table (Keyword_ent *tab) @@ -21,7 +21,8 @@ Keyword_table::Keyword_table (Keyword_ent *tab) table = tab; /* count keywords */ - for (maxkey = 0; table[maxkey].name; maxkey++); + for (maxkey = 0; table[maxkey].name; maxkey++) + ; /* sort them */ qsort (table, maxkey, sizeof (Keyword_ent), tabcmp);