X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fgenres.vala;h=0b574cd3751f7d457b818de778fcc75fea9b4f65;hb=01cfc051a3ed2224cf36675000df135c3d1c4ef6;hp=7133f1c1f20ae62d00f0750bb22bc1a0a21f44c9;hpb=6b44d6b59585418729a261f15ba7664a5733f0ed;p=cinaest diff --git a/src/genres.vala b/src/genres.vala index 7133f1c..0b574cd 100644 --- a/src/genres.vala +++ b/src/genres.vala @@ -112,18 +112,16 @@ public struct Genres { return _genre_string[genre]; } -/* public static int genre_bit (string genre) { int i = 0; do { - if (_genres[i] == genre) { + if (_genre_string[i] == genre) { return (1 << i); } } while (++i < 28); return 0; } -*/ }