Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-11-18 21:33:35 +01:00
parent 2f026feb7f
commit e99faac831
10 changed files with 11 additions and 31 deletions

View file

@ -1245,7 +1245,7 @@ void loadFormNoPackedSheet (const std::vector<std::string> &sheetFilters, std::m
NLMISC::CSheetId::buildIdVector(sheetIds, filenames, sheetFilters[i]);
// if there s no file, nothing to do
// if there's no file, nothing to do
if (sheetIds.empty())
return;

View file

@ -34,7 +34,7 @@ public:
void display ();
/// returns true if there s no more . in the path
/// returns true if there's no more . in the path
bool isFinal ();
bool empty ()

View file

@ -206,6 +206,6 @@ public:
/*
* Declare a service with the class CFrontEndService, the names "FS" (short) and "frontend_service" (long).
* The port is dynamically find and there s no callback array.
* The port is dynamically find and there's no callback array.
*/
NLNET_SERVICE_MAIN (CFrontEndService, "FS", "frontend_service", 0, EmptyCallbackArray, NL_LS_CFG, "")

View file

@ -185,7 +185,7 @@ void CVertexArrayRangeNVidia::enable()
_Driver->_NVCurrentVARSize= _VertexArraySize;
_Driver->_NVCurrentVARPtr= _VertexArrayPtr;
}
// enable VAR. NB: flush is unesufull, so don't flush if extension is OK
// enable VAR. NB: flush is useless, so don't flush if extension is OK
glEnableClientState(_Driver->_Extensions.NVStateVARWithoutFlush);
_Driver->_CurrentVertexArrayRange= this;
}
@ -200,7 +200,7 @@ void CVertexArrayRangeNVidia::disable()
if(_Driver->_CurrentVertexArrayRange!=NULL)
{
// just disable the state, don't change VAR ptr setup.
// NB: flush is unesufull, so don't flush if extension is OK
// NB: flush is useless, so don't flush if extension is OK
glDisableClientState(_Driver->_Extensions.NVStateVARWithoutFlush);
_Driver->_CurrentVertexArrayRange= NULL;
}

View file

@ -356,7 +356,7 @@ uint32 humanReadableToBytes (const string &str)
if (str.size()<3)
return res;
// there s no break and it's **normal**
// there's no break and it's **normal**
switch (str[str.size()-2])
{
case 'G': res *= 1024;

View file

@ -130,7 +130,7 @@ void uNetUnregistrationBroadcast(const string &name, TServiceId sid, const vecto
}
//
// It's the first connection that added the _NamedCnx so if there s no connection, no need to
// It's the first connection that added the _NamedCnx so if there's no connection, no need to
// remove entry in _NamedCnx
//

View file

@ -327,7 +327,7 @@ void scanFiles(const CSString &filespec)
buildFileVector(filenames, filespec);
// if there s no file, nothing to do
// if there's no file, nothing to do
if (filenames.empty())
return;

View file

@ -14,17 +14,6 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef RY_BNP_PATCH_H
#define RY_BNP_PATCH_H
/** bnp_patch.h
$id$
The set of classes used by patch systems (both generation and application)
*/
#ifndef BNP_PATCH_H
#define BNP_PATCH_H
@ -469,8 +458,4 @@ private:
//
//#endif
#endif
#endif

View file

@ -16,11 +16,6 @@
#ifndef SMALL_STRING_MANAGER_H
#define SMALL_STRING_MANAGER_H
/** \file small_string_manager.h
*
* $id$
*
*/
#include "nel/misc/types_nl.h"