diff options
author | markm <markm@openoffice.org> | 2002-07-30 16:05:53 +0000 |
---|---|---|
committer | markm <markm@openoffice.org> | 2002-07-30 16:05:53 +0000 |
commit | 43ec6f55616ee0f29fa352262f061bba4058a46a (patch) | |
tree | eb0c5165d8d34516d1e1fcb9a5640533a91bf25c /xmerge/source/activesync | |
parent | 246324eae9c96c29823f91dd59bdc0054363bb24 (diff) |
Update for long file names
Diffstat (limited to 'xmerge/source/activesync')
-rw-r--r-- | xmerge/source/activesync/XMergeFilter.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmerge/source/activesync/XMergeFilter.cpp b/xmerge/source/activesync/XMergeFilter.cpp index e3324c1b1075..0acd972ab3be 100644 --- a/xmerge/source/activesync/XMergeFilter.cpp +++ b/xmerge/source/activesync/XMergeFilter.cpp @@ -215,9 +215,13 @@ STDMETHODIMP CXMergeFilter::NextConvertFile(int nConversion, CFF_CONVERTINFO *pc } + // ActiveSync sometimes gives out long file names, especially when automatically syncing + appArgs += "\""; appArgs += psf->szFullpath; - appArgs += " "; + appArgs += "\" \""; appArgs += pdf->szFullpath; + appArgs += "\""; + if(!CreateProcess(NULL, (char*)appArgs.c_str(), |