From a8a93af4685c3354b9308aff0142747c9982ae39 Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 16 Jul 2010 22:26:02 +0200 Subject: [PATCH] Changed: #878 Fix typos in comments/code --- code/ryzom/client/src/interface_v3/ctrl_scroll.cpp | 4 ++-- code/ryzom/common/src/game_share/server_edition_module.cpp | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/ctrl_scroll.cpp b/code/ryzom/client/src/interface_v3/ctrl_scroll.cpp index 5ea043daf..652bd5ed7 100644 --- a/code/ryzom/client/src/interface_v3/ctrl_scroll.cpp +++ b/code/ryzom/client/src/interface_v3/ctrl_scroll.cpp @@ -833,7 +833,7 @@ void CCtrlScroll::moveTargetX (sint32 dx) _TrackPos = (sint32)factor; } - // invlidate only position. 1 pass is sufficient + // invalidate only position. 1 pass is sufficient invalidateCoords(1); } @@ -873,7 +873,7 @@ void CCtrlScroll::moveTargetY (sint32 dy) _TrackPos = (sint32)factor; } - // invlidate only position. 1 pass is sufficient + // invalidate only position. 1 pass is sufficient invalidateCoords(1); } diff --git a/code/ryzom/common/src/game_share/server_edition_module.cpp b/code/ryzom/common/src/game_share/server_edition_module.cpp index f1f03163f..2731ed40b 100644 --- a/code/ryzom/common/src/game_share/server_edition_module.cpp +++ b/code/ryzom/common/src/game_share/server_edition_module.cpp @@ -3254,10 +3254,6 @@ void CServerEditionModule::hibernateSession(NLNET::IModuleProxy *sender, TSessio } -static const std::string _SubRep = "r2/"; -//static const std::string _SubRep = ""; - - std::string CServerEditionModule::getSessionFilename(TSessionId sessionId, TCharId charId) const { return NLMISC::toString("r2_session_%.08u_%08u.dat", sessionId.asInt(), charId ); @@ -3265,7 +3261,7 @@ std::string CServerEditionModule::getSessionFilename(TSessionId sessionId, TChar std::string CServerEditionModule::getOverrideRingAccessFilename() const { - return NLMISC::toString("r2/override_ring_access.txt", _SubRep.c_str()); + return "r2/override_ring_access.txt"; } //implementation of characterKicked and command