]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct wxPATH_NORM_DOTS comment and documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Aug 2009 01:03:00 +0000 (01:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Aug 2009 01:03:00 +0000 (01:03 +0000)
It doesn't prepend the current working directory, only wxPATH_NORM_ABSOLUTE does.

Closes #11035.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filename.h
interface/wx/filename.h

index 3da10d03842a16eae54d468f0574622d72b5a7ca..7bb7a09460929f07a222a943f473c9d2d570033f 100644 (file)
@@ -70,7 +70,7 @@ enum wxPathFormat
 enum wxPathNormalize
 {
     wxPATH_NORM_ENV_VARS = 0x0001,  // replace env vars with their values
-    wxPATH_NORM_DOTS     = 0x0002,  // squeeze all .. and . and prepend cwd
+    wxPATH_NORM_DOTS     = 0x0002,  // squeeze all .. and .
     wxPATH_NORM_TILDE    = 0x0004,  // Unix only: replace ~ and ~user
     wxPATH_NORM_CASE     = 0x0008,  // if case insensitive => tolower
     wxPATH_NORM_ABSOLUTE = 0x0010,  // make the path absolute
index e4bd0a4dca6656ab4bf9509f4170e4e4b4c01caa..be88a2631ec5415fbecd8311fc5b11f8712b2a27 100644 (file)
@@ -42,7 +42,7 @@ enum wxPathNormalize
     //! and in addition under Windows @c "%var%" is also.
     wxPATH_NORM_ENV_VARS = 0x0001,
 
-    wxPATH_NORM_DOTS     = 0x0002,  //!< Squeeze all @c ".." and @c "." and prepend the current working directory.
+    wxPATH_NORM_DOTS     = 0x0002,  //!< Squeeze all @c ".." and @c ".".
     wxPATH_NORM_TILDE    = 0x0004,  //!< Replace @c "~" and @c "~user" (Unix only).
     wxPATH_NORM_CASE     = 0x0008,  //!< If the platform is case insensitive, make lowercase the path.
     wxPATH_NORM_ABSOLUTE = 0x0010,  //!< Make the path absolute.