summaryrefslogtreecommitdiffabout
path: root/PumpKINDlg.cpp
authorMichael Krelin <hacker@klever.net>2004-09-12 11:46:21 (UTC)
committer Michael Krelin <hacker@klever.net>2004-09-12 11:46:21 (UTC)
commit4435ed85c3acb4df42135e009b133fb8e9d2f09c (patch) (side-by-side diff)
treec1f4b4da029153459465d3679acdf48c594943ae /PumpKINDlg.cpp
parent9bd9ea789778ff25ba61a22bca0eacc14ae47cb7 (diff)
downloadpumpkin-4435ed85c3acb4df42135e009b133fb8e9d2f09c.zip
pumpkin-4435ed85c3acb4df42135e009b133fb8e9d2f09c.tar.gz
pumpkin-4435ed85c3acb4df42135e009b133fb8e9d2f09c.tar.bz2
quick fix to the backslash conversion problem.
git-svn-id: http://svn.klever.net/kin/pumpkin/trunk@46 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'PumpKINDlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--PumpKINDlg.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/PumpKINDlg.cpp b/PumpKINDlg.cpp
index 1e6d03f..0b3bf41 100644
--- a/PumpKINDlg.cpp
+++ b/PumpKINDlg.cpp
@@ -1220,5 +1220,9 @@ BOOL CWRQSocket::Create(LPCTSTR localFile,LPCTSTR hostName)
m_Daddy->m_Xfers[m_hSocket]=this;
- TurnSlashes(m_FileName,TRUE);
UpdateList();
-CString fn = localFile?ApplyRootGently(localFile):ApplyRoot(m_FileName);
+CString lf;
+ if(!localFile) {
+ lf = m_FileName;
+ TurnSlashes(lf,TRUE);
+ }
+CString fn = localFile?ApplyRootGently(localFile):ApplyRoot(lf);
if(!localFile){ // This is an incoming request..