Simplified a switch statement

This commit is contained in:
John Wiegley 2012-02-10 20:09:11 -10:00
parent f322769775
commit 68fa8600ee

View file

@ -89,15 +89,15 @@ void format_emacs_posts::operator()(post_t& post)
<< post.amount << "\"";
switch (post.state()) {
case item_t::UNCLEARED:
out << " nil";
break;
case item_t::CLEARED:
out << " t";
break;
case item_t::PENDING:
out << " pending";
break;
default:
out << " nil";
break;
}
if (post.cost)