Commit bf90fa16 authored by bitplane's avatar bitplane

Fixed misleading typo in doc comment for core::string::equalsn

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2442 dfc29bdd-3216-0410-991c-e03cc46cb475
parent c2236586
...@@ -473,7 +473,7 @@ public: ...@@ -473,7 +473,7 @@ public:
//! compares the first n characters of the strings //! compares the first n characters of the strings
/** \param other Other string to compare. /** \param other Other string to compare.
\param n Number of characters to compare \param n Number of characters to compare
\return True if the n first characters of this string are smaller. */ \return True if the n first characters of both strings are equal. */
bool equalsn(const string<T>& other, u32 n) const bool equalsn(const string<T>& other, u32 n) const
{ {
u32 i; u32 i;
...@@ -490,7 +490,7 @@ public: ...@@ -490,7 +490,7 @@ public:
//! compares the first n characters of the strings //! compares the first n characters of the strings
/** \param str Other string to compare. /** \param str Other string to compare.
\param n Number of characters to compare \param n Number of characters to compare
\return True if the n first characters of this string are smaller. */ \return True if the n first characters of both strings are equal. */
bool equalsn(const T* const str, u32 n) const bool equalsn(const T* const str, u32 n) const
{ {
if (!str) if (!str)
......
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