Commit ffb438d1 authored by hybrid's avatar hybrid

Minor changes and cleanup.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1292 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 22e7edbf
......@@ -139,9 +139,6 @@ namespace scene
//! flags the meshbuffer as changed, reloads hardware buffers
virtual void setDirty(E_BUFFER_TYPE Buffer=EBT_VERTEX_AND_INDEX) = 0;
virtual const u32 getChangedID() const = 0;
u32 HardwareHint;
......
......@@ -436,7 +436,7 @@ public:
{
if (!str)
return false;
u32 i;
s32 i;
for(i=0; array[i] && str[i] && i < n; ++i)
if (array[i] != str[i])
return false;
......@@ -810,11 +810,11 @@ public:
const u32 whitespacecount = 4;
// find start and end of real string without whitespace
s32 begin = findFirstCharNotInList(whitespace, whitespacecount);
const s32 begin = findFirstCharNotInList(whitespace, whitespacecount);
if (begin == -1)
return (*this="");
s32 end = findLastCharNotInList(whitespace, whitespacecount);
const s32 end = findLastCharNotInList(whitespace, whitespacecount);
return (*this = subString(begin, (end +1) - begin));
}
......@@ -833,8 +833,6 @@ public:
--used;
}
private:
/*
T toLower(const T& t) const
......
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