unsigned short int * -> unsigned short* , remove unneeded `int`.

This commit is contained in:
James Chen 2014-01-26 21:32:21 +08:00
parent 2ee58c913c
commit f2981adf1f
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ int Font::getUTF16TextLenght(unsigned short int *text) const
return cc_wcslen(text); 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 ) if ( newBegin < 0 || newEnd <= 0 )
return 0; return 0;