]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mimetype.cpp
Fix compilation under dll builds. Wrap source files in wxUSE_WEB checks to allow...
[wxWidgets.git] / src / msw / mimetype.cpp
index dae42f9ddf3504893fa555baaf0c253c1797407c..a067ac7de3b567a80f831d107b2a04a8abe404cf 100644 (file)
@@ -95,6 +95,15 @@ static bool CanonicalizeParams(wxString& command)
         }
     }
 
         }
     }
 
+    if ( foundFilename )
+    {
+        // Some values also contain an addition %* expansion string which is
+        // presumably supposed to be replaced with the names of the other files
+        // accepted by the command. As we don't support more than one file
+        // anyhow, simply ignore it.
+        command.Replace(" %*", "");
+    }
+
     return foundFilename;
 }
 
     return foundFilename;
 }