Typo
This commit is contained in:
parent
5ddf4ee4d8
commit
bd21bfeeb3
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ inline const char *nlutf8ToTStr(const std::string &str) { return str.c_str(); }
|
||||||
#define utf8ToTStr(str) NLMISC::nlutf8ToTStr(str)
|
#define utf8ToTStr(str) NLMISC::nlutf8ToTStr(str)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (NL_COMP_VC_VERSION > 90) /* VS2008 does not have stdint.h */
|
#if (NL_COMP_VC_VERSION <= 90) /* VS2008 does not have stdint.h */
|
||||||
float nlroundf(float x)
|
float nlroundf(float x)
|
||||||
{
|
{
|
||||||
return x >= 0.0f ? floorf(x + 0.5f) : ceilf(x - 0.5f);
|
return x >= 0.0f ? floorf(x + 0.5f) : ceilf(x - 0.5f);
|
||||||
|
|
Loading…
Reference in a new issue