Skip to content

Commit

Permalink
Small formatting cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 23, 2016
1 parent 2346b35 commit b73cc5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/quit_confirmation.cpp
Expand Up @@ -41,5 +41,6 @@ void quit_confirmation::quit()

bool quit_confirmation::default_promt()
{
return gui2::show_message(CVideo::get_singleton(), _("Quit"), _("Do you really want to quit?"), gui2::tmessage::yes_no_buttons) != gui2::twindow::CANCEL;
return gui2::show_message(CVideo::get_singleton(), _("Quit"), _("Do you really want to quit?"),
gui2::tmessage::yes_no_buttons) != gui2::twindow::CANCEL;
}
4 changes: 3 additions & 1 deletion src/quit_confirmation.hpp
Expand Up @@ -31,7 +31,9 @@ class CVideo;
class quit_confirmation
{
public:
quit_confirmation(const boost::function<bool()>& promt = &quit_confirmation::default_promt) : promt_(promt) { blockers_.push_back(this); }
quit_confirmation(const boost::function<bool()>& promt = &quit_confirmation::default_promt)
: promt_(promt) { blockers_.push_back(this); }

~quit_confirmation() { blockers_.pop_back(); }

/**
Expand Down

0 comments on commit b73cc5e

Please sign in to comment.