aboutsummaryrefslogtreecommitdiff
path: root/src/engine/manifest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/manifest.cpp')
-rw-r--r--src/engine/manifest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/manifest.cpp b/src/engine/manifest.cpp
index 270b6b74..fe8c6cad 100644
--- a/src/engine/manifest.cpp
+++ b/src/engine/manifest.cpp
@@ -10,8 +10,8 @@ static HRESULT ParseFromXml(
10 10
11// function definitions 11// function definitions
12 12
13extern "C" HRESULT ManifestLoadXml( 13extern "C" HRESULT ManifestLoadXmlFromFile(
14 __in LPCWSTR wzDocument, 14 __in LPCWSTR wzPath,
15 __in BURN_ENGINE_STATE* pEngineState 15 __in BURN_ENGINE_STATE* pEngineState
16 ) 16 )
17{ 17{
@@ -19,7 +19,7 @@ extern "C" HRESULT ManifestLoadXml(
19 IXMLDOMDocument* pixdDocument = NULL; 19 IXMLDOMDocument* pixdDocument = NULL;
20 20
21 // load xml document 21 // load xml document
22 hr = XmlLoadDocument(wzDocument, &pixdDocument); 22 hr = XmlLoadDocumentFromFile(wzPath, &pixdDocument);
23 ExitOnFailure(hr, "Failed to load manifest as XML document."); 23 ExitOnFailure(hr, "Failed to load manifest as XML document.");
24 24
25 hr = ParseFromXml(pixdDocument, pEngineState); 25 hr = ParseFromXml(pixdDocument, pEngineState);