summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-17 19:13:23 +0200
committermadmaxoft <github@xoft.cz>2014-07-17 19:13:23 +0200
commit7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4 (patch)
tree54a0e32d887554b1131c8c9123027f16a7faf5d8 /src/Root.cpp
parentFixed basic whitespace problems. (diff)
downloadcuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.gz
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.bz2
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.lz
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.xz
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.zst
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.zip
Diffstat (limited to '')
-rw-r--r--src/Root.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 235a1b108..6347adcf0 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -105,7 +105,7 @@ void cRoot::Start(void)
#ifdef _WIN32
HWND hwnd = GetConsoleWindow();
HMENU hmenu = GetSystemMenu(hwnd, FALSE);
- EnableMenuItem(hmenu, SC_CLOSE, MF_GRAYED); // Disable close button when starting up; it causes problems with our CTRL-CLOSE handling
+ EnableMenuItem(hmenu, SC_CLOSE, MF_GRAYED); // Disable close button when starting up; it causes problems with our CTRL-CLOSE handling
#endif
cDeadlockDetect dd;
@@ -202,7 +202,7 @@ void cRoot::Start(void)
LOG("Startup complete, took %lld ms!", finishmseconds);
#ifdef _WIN32
- EnableMenuItem(hmenu, SC_CLOSE, MF_ENABLED); // Re-enable close button
+ EnableMenuItem(hmenu, SC_CLOSE, MF_ENABLED); // Re-enable close button
#endif
while (!m_bStop && !m_bRestart && !g_TERMINATE_EVENT_RAISED) // These are modified by external threads
@@ -607,7 +607,7 @@ bool cRoot::FindAndDoWithPlayer(const AString & a_PlayerName, cPlayerListCallbac
m_BestRating = Rating;
++m_NumMatches;
}
- if (Rating == m_NameLength) // Perfect match
+ if (Rating == m_NameLength) // Perfect match
{
return true;
}