projects
/
cinaest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b44d6b
)
Genres: enable and fix the genre_bit method
author
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 6 Aug 2010 16:23:07 +0000
(18:23 +0200)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 6 Aug 2010 16:38:59 +0000
(18:38 +0200)
src/genres.vala
patch
|
blob
|
history
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;
}
-*/
}