Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
51d632b9ec
commit
0a235b7353
5 changed files with 47 additions and 50 deletions
|
@ -377,7 +377,6 @@ void CTileBank::makeAllPathRelative ()
|
||||||
|
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
// Moi aussi je le parie (Yoyo).
|
|
||||||
void CTileBank::makeAllExtensionDDS ()
|
void CTileBank::makeAllExtensionDDS ()
|
||||||
{
|
{
|
||||||
// For all tiles
|
// For all tiles
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
#include "nel/misc/bsphere.h"
|
#include "nel/misc/bsphere.h"
|
||||||
#include "nel/misc/matrix.h"
|
#include "nel/misc/matrix.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace NLMISC {
|
namespace NLMISC {
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ typedef struct PIC_PICTURE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* JPG
|
* JPG
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
extern unsigned long Pic_JPG_Read( unsigned char *FileName,
|
extern unsigned long Pic_JPG_Read( unsigned char *FileName,
|
||||||
|
@ -35,7 +35,7 @@ extern unsigned long Pic_JPG_Write( unsigned char *FileName,
|
||||||
unsigned long w, unsigned long h);
|
unsigned long w, unsigned long h);
|
||||||
/*
|
/*
|
||||||
* TGA
|
* TGA
|
||||||
*/
|
*/
|
||||||
extern unsigned long Pic_TGA_Read( unsigned char *FileName,
|
extern unsigned long Pic_TGA_Read( unsigned char *FileName,
|
||||||
unsigned char **ppPal, unsigned char **ppDatas,
|
unsigned char **ppPal, unsigned char **ppDatas,
|
||||||
unsigned long *pWidth, unsigned long *pHeight,
|
unsigned long *pWidth, unsigned long *pHeight,
|
||||||
|
@ -45,7 +45,7 @@ extern unsigned long Pic_TGA_Write( unsigned char *FileName,
|
||||||
unsigned long w, unsigned long h, unsigned long d);
|
unsigned long w, unsigned long h, unsigned long d);
|
||||||
/*
|
/*
|
||||||
* BMP
|
* BMP
|
||||||
*/
|
*/
|
||||||
extern unsigned long Pic_BMP_Read( unsigned char *FileName,
|
extern unsigned long Pic_BMP_Read( unsigned char *FileName,
|
||||||
unsigned char **ppPal, unsigned char **ppDatas,
|
unsigned char **ppPal, unsigned char **ppDatas,
|
||||||
unsigned long *pWidth, unsigned long *pHeight,
|
unsigned long *pWidth, unsigned long *pHeight,
|
||||||
|
@ -56,7 +56,7 @@ extern unsigned long Pic_BMP_Write( unsigned char *FileName,
|
||||||
unsigned long w, unsigned long h, unsigned long d);
|
unsigned long w, unsigned long h, unsigned long d);
|
||||||
/*
|
/*
|
||||||
* System
|
* System
|
||||||
*/
|
*/
|
||||||
extern void* Pic_malloc(unsigned long size);
|
extern void* Pic_malloc(unsigned long size);
|
||||||
extern void* Pic_calloc(unsigned long count, unsigned long size);
|
extern void* Pic_calloc(unsigned long count, unsigned long size);
|
||||||
extern void Pic_free(void *memblock);
|
extern void Pic_free(void *memblock);
|
||||||
|
|
|
@ -190,7 +190,7 @@ void extractStringsFromBinary (const vector<char> &fileArray, set<string> &filen
|
||||||
// if we're pointing at a string the first 4 bytes ar the string length
|
// if we're pointing at a string the first 4 bytes ar the string length
|
||||||
uint len=*(uint *)(arrayPointer+i);
|
uint len=*(uint *)(arrayPointer+i);
|
||||||
|
|
||||||
// if the stringlength could be valid
|
// if the string length could be valid
|
||||||
if (len>0 && len+i<=size)
|
if (len>0 && len+i<=size)
|
||||||
{
|
{
|
||||||
uint k;
|
uint k;
|
||||||
|
|
Loading…
Reference in a new issue