]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
mood: Improve readability of get_item_score().
authorAndre Noll <maan@systemlinux.org>
Wed, 13 Jun 2012 14:38:10 +0000 (16:38 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 13 Jun 2012 14:43:15 +0000 (16:43 +0200)
This function returns whether the given item matches, so make
it return bool rather than int. This improves readability of
compute_mood_score(), which calls get_item_score() three times,
quite a bit.

No semantic changes.


No differences found