projects
/
cinaest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Genres: enable and fix the genre_bit method
[cinaest]
/
src
/
genres.vala
diff --git
a/src/genres.vala
b/src/genres.vala
index
7133f1c
..
0b574cd
100644
(file)
--- 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;
}
-*/
}