ソースを参照

Corrected filesize units in return comment

I may be mistaken but at least in windows I think the return will be in
bytes no KB.
Nathan Bowhay 10 年 前
コミット
0007a518bc
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Engine/source/console/fileSystemFunctions.cpp

+ 1 - 1
Engine/source/console/fileSystemFunctions.cpp

@@ -511,7 +511,7 @@ DefineEngineFunction(fileSize, S32, ( const char* fileName ),,
 	"@brief Determines the size of a file on disk\n\n"
 
 	"@param fileName Name and path of the file to check\n"
-	"@return Returns filesize in KB, or -1 if no file\n"
+	"@return Returns filesize in bytes, or -1 if no file\n"
 
 	"@ingroup FileSystem")
 {