]> git.saurik.com Git - wxWidgets.git/commitdiff
wxFileModificationTime return -1, not 0, on error (patch 1624484)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Dec 2006 20:18:57 +0000 (20:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Dec 2006 20:18:57 +0000 (20:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/function.tex

index e09d7e81321d95e5e15adb4a0355008b533d4fae..3f35029b215cd788deb17e18df5ccf31b9b0776d 100644 (file)
@@ -996,7 +996,8 @@ Returns true if the file exists and is a plain file.
 
 Returns time of last modification of given file.
 
-The return value is $0$ if an error occured (e.g. file not found).
+The function returns \texttt{(time\_t)}$-1$ if an error occurred (e.g. file not
+found).
 
 
 \membersection{::wxFileNameFromPath}\label{wxfilenamefrompath}