From 4277eaea5e02fb69d64193a0395357e2c346afdb Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 21 Nov 2009 12:37:25 -0600 Subject: Add formatting fixes. This mostly puts && and || on the proper lines, per the style guide. --- crawl-ref/source/stash.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/stash.h') 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)); } }; -- cgit v1.2.3-54-g00ecf