summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-21 12:37:25 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-21 12:37:25 -0600
commit4277eaea5e02fb69d64193a0395357e2c346afdb (patch)
tree68806b639fbb4d2e08215b12517c86c2eee0fe94 /crawl-ref/source/stash.h
parent505571294e7ca02c0af89ff2b25f3cecde439448 (diff)
downloadcrawl-ref-4277eaea5e02fb69d64193a0395357e2c346afdb.tar.gz
crawl-ref-4277eaea5e02fb69d64193a0395357e2c346afdb.zip
Add formatting fixes.
This mostly puts && and || on the proper lines, per the style guide.
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r--crawl-ref/source/stash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h
index abb05d13d8..f455f54f6d 100644
--- a/crawl-ref/source/stash.h
+++ b/crawl-ref/source/stash.h
@@ -198,11 +198,11 @@ struct stash_search_result
{
}
- bool operator < ( const stash_search_result &ssr ) const
+ bool operator < (const stash_search_result &ssr) const
{
- return player_distance < ssr.player_distance ||
- (player_distance == ssr.player_distance &&
- matches > ssr.matches);
+ return (player_distance < ssr.player_distance
+ || (player_distance == ssr.player_distance
+ && matches > ssr.matches));
}
};