From bd21bfeeb3011cdad089fd5bf481a4046bff6877 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 28 Apr 2019 10:50:45 +0800 Subject: [PATCH] Typo --- code/nel/include/nel/misc/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/include/nel/misc/common.h b/code/nel/include/nel/misc/common.h index 4a1cafc23..0549d1bcf 100644 --- a/code/nel/include/nel/misc/common.h +++ b/code/nel/include/nel/misc/common.h @@ -318,7 +318,7 @@ inline const char *nlutf8ToTStr(const std::string &str) { return str.c_str(); } #define utf8ToTStr(str) NLMISC::nlutf8ToTStr(str) #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) { return x >= 0.0f ? floorf(x + 0.5f) : ceilf(x - 0.5f);