mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 03:45:26 +00:00
Fixes after feedback from Luis.
* Made use of dStrIsEmpty in more locations (and fixed it :P) * Removed commented-out code * Corrected default params * Fixed some console warning formats * Removed tabs * Corrected setExtent API
This commit is contained in:
parent
04ff04a95f
commit
3ab048c5b0
30 changed files with 130 additions and 110 deletions
|
|
@ -61,7 +61,7 @@ inline S32 dStrcmp(const char *str1, const char *str2)
|
|||
|
||||
inline bool dStrIsEmpty(const char *src)
|
||||
{
|
||||
return src == 0 || !dStrcmp(src, "");
|
||||
return src == 0 || src[0] == '\0';
|
||||
}
|
||||
|
||||
inline S32 dStrncmp(const char *str1, const char *str2, dsize_t len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue