Commit 1db8718c authored by hybrid's avatar hybrid

Remove white spaces before semicolon

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4544 dfc29bdd-3216-0410-991c-e03cc46cb475
parent b93788fa
......@@ -790,7 +790,7 @@ namespace quake3
for ( u32 i = 0; i!= stringList.size (); ++i )
{
video::ITexture* texture = 0;
for (u32 g = 0; g != 7 ; ++g)
for (u32 g = 0; g != 7; ++g)
{
core::cutFilenameExtension ( loadFile, stringList[i] );
......
......@@ -2138,7 +2138,7 @@ namespace core
M[6] = (T)y;
#if defined ( USE_MATRIX_TEST )
definitelyIdentityMatrix = definitelyIdentityMatrix && (x==0.0f) && (y==0.0f) ;
definitelyIdentityMatrix = definitelyIdentityMatrix && (x==0.0f) && (y==0.0f);
#endif
return *this;
}
......
......@@ -1179,10 +1179,10 @@ protected:
void reset()
{
if (IsFloat)
for (u32 i=0; i < Count ; ++i)
for (u32 i=0; i < Count; ++i)
ValueF[i] = 0.0f;
else
for (u32 i=0; i < Count ; ++i)
for (u32 i=0; i < Count; ++i)
ValueI[i] = 0;
}
......
......@@ -328,15 +328,13 @@ void process_uncomp(
//-----------------------------------------------------------
void flush_outbuf(unsigned char *out_buf, int out_buf_size)
{
register int pos=0;
if(!outbuf_cnt)
if (!outbuf_cnt)
return; // nothing to do */
// send no. of unencoded bytes to be sent
put_byte((unsigned char)(outbuf_cnt - 1), out_buf, out_buf_size);
for ( ; outbuf_cnt; outbuf_cnt--)
for (int pos=0; outbuf_cnt; outbuf_cnt--)
put_byte((unsigned char)outbuf[pos++], out_buf, out_buf_size);
}
//---------------------------------------------------
......@@ -409,7 +407,7 @@ int rle_decode (
nReadedBytes++;
// uncompress a chunk
for ( ; i ; i--)
for (; i; --i)
{
if (nDecodedBytes<out_buf_size)
out_buf[nDecodedBytes] = ch;
......@@ -419,9 +417,8 @@ int rle_decode (
else
{
// copy out some uncompressed bytes
i = ch + 1; // i is the no. of bytes
// uncompress a chunk
for ( ; i ; i--)
// i is the no. of bytes
for (i = ch + 1; i; --i)
{
if (nReadedBytes>=in_buf_size)
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment