]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/debugrpt.cpp
Compilation fix for dos
[wxWidgets.git] / src / common / debugrpt.cpp
index 717f7d1b13522eae358101259dff5357bef2988a..e9d477c1fa9baa1556d77855057edcfe7328d42e 100644 (file)
@@ -34,6 +34,7 @@
 
 #include "wx/debugrpt.h"
 
+#include "wx/ffile.h"
 #include "wx/filename.h"
 #include "wx/dir.h"
 #include "wx/dynlib.h"
@@ -652,7 +653,7 @@ bool wxDebugReportUpload::DoProcess()
     wxArrayString output, errors;
     int rc = wxExecute(wxString::Format
                        (
-                            _T("%s -F %s=@%s %s"),
+                            _T("%s -F %s=@\"%s\" %s"),
                             m_curlCmd.c_str(),
                             m_inputField.c_str(),
                             GetCompressedFileName().c_str(),