1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

Fix wrong indenting from my last commits.

This commit is contained in:
Rohit Nirmal 2013-06-13 11:17:34 -05:00
parent df016778be
commit e5ddaaf676
2 changed files with 3 additions and 4 deletions

View File

@ -213,7 +213,6 @@ namespace
void close() void close()
{ {
mModel->unload (); mModel->unload ();
getPage (LeftBookPage)->showPage (Book (), 0); getPage (LeftBookPage)->showPage (Book (), 0);
@ -433,7 +432,7 @@ namespace
void notifyClose(MyGUI::Widget* _sender) void notifyClose(MyGUI::Widget* _sender)
{ {
MWBase::Environment::get().getSoundManager()->playSound ("book close", 1.0, 1.0); MWBase::Environment::get().getSoundManager()->playSound ("book close", 1.0, 1.0);
MWBase::Environment::get().getWindowManager ()->popGuiMode (); MWBase::Environment::get().getWindowManager ()->popGuiMode ();
} }

View File

@ -668,7 +668,7 @@ namespace MWInput
if(gameMode && MWBase::Environment::get().getWindowManager ()->getJournalAllowed()) if(gameMode && MWBase::Environment::get().getWindowManager ()->getJournalAllowed())
{ {
MWBase::Environment::get().getSoundManager()->playSound ("book open", 1.0, 1.0); MWBase::Environment::get().getSoundManager()->playSound ("book open", 1.0, 1.0);
mWindows.pushGuiMode(MWGui::GM_Journal); mWindows.pushGuiMode(MWGui::GM_Journal);
} }
else if(mWindows.getMode() == MWGui::GM_Journal) else if(mWindows.getMode() == MWGui::GM_Journal)