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