OSDN Git Service

2005-03-03 Perry
authorPerry Rapp <elsapo@users.sourceforge.net>
Thu, 3 Mar 2005 06:37:46 +0000 (06:37 +0000)
committerPerry Rapp <elsapo@users.sourceforge.net>
Thu, 3 Mar 2005 06:37:46 +0000 (06:37 +0000)
 PATCH: [ 1151951 ] Alter getRightFilepath for root paths
 re: BUG: [ 1105933 ] Problem accessing files in network shares and removables
  Src: DiffContext.cpp

Src/DiffContext.cpp
Src/readme.txt

index b55ad12..27a7a6c 100644 (file)
@@ -298,7 +298,7 @@ CString DIFFITEM::getLeftFilepath(const CDiffContext *pCtxt) const
                sPath = pCtxt->m_strNormalizedLeft;
                if (sSubdir.GetLength())
                {
-                       sPath += _T("\\") + sSubdir;
+            sPath = paths_ConcatPath(sPath, sSubdir);
                }
        }
        return sPath;
@@ -313,7 +313,7 @@ CString DIFFITEM::getRightFilepath(const CDiffContext *pCtxt) const
                sPath = pCtxt->m_strNormalizedRight;
                if (sSubdir.GetLength())
                {
-                       sPath += _T("\\") + sSubdir;
+            sPath = paths_ConcatPath(sPath, sSubdir);
                }
        }
        return sPath;
index 249eec0..11cfe85 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-03 Perry
+ PATCH: [ 1151951 ] Alter getRightFilepath for root paths
+ re: BUG: [ 1105933 ] Problem accessing files in network shares and removables
+  Src: DiffContext.cpp
+
 2005-03-02 Kimmo
  BUG: [ 975226 ] Editor: Always refresh with Del-Key
   Fix submitted by Takashi Sawanaka