Formatting
This commit is contained in:
@@ -899,7 +899,7 @@ void Song::InitFromQuery(const SqlRow &q, bool reliable_metadata, int col) {
|
||||
int x = col;
|
||||
d->id_ = toint(col);
|
||||
|
||||
for (int i = 0 ; i < Song::kColumns.size(); i++) {
|
||||
for (int i = 0; i < Song::kColumns.size(); i++) {
|
||||
x++;
|
||||
|
||||
if (x >= q.columns_.size()) {
|
||||
@@ -1609,8 +1609,9 @@ bool Song::IsOnSameAlbum(const Song &other) const {
|
||||
|
||||
if (is_compilation() != other.is_compilation()) return false;
|
||||
|
||||
if (has_cue() && other.has_cue() && cue_path() == other.cue_path())
|
||||
if (has_cue() && other.has_cue() && cue_path() == other.cue_path()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (is_compilation() && album() == other.album()) return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user