mirror of https://github.com/axmolengine/axmol.git
unsigned short int * -> unsigned short* , remove unneeded `int`.
This commit is contained in:
parent
2ee58c913c
commit
f2981adf1f
|
@ -115,7 +115,7 @@ int Font::getUTF16TextLenght(unsigned short int *text) const
|
|||
return cc_wcslen(text);
|
||||
}
|
||||
|
||||
unsigned short int * Font::trimUTF16Text(unsigned short int *text, int newBegin, int newEnd) const
|
||||
unsigned short * Font::trimUTF16Text(unsigned short int *text, int newBegin, int newEnd) const
|
||||
{
|
||||
if ( newBegin < 0 || newEnd <= 0 )
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue