diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-04-17 10:31:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 10:31:47 -0400 |
| commit | 855650215f5011082f6a3fa4dcfb69b040367911 (patch) | |
| tree | c744c49d7c62c1051c99a12b793377ae40113e1f /src/envmodule.cpp | |
| parent | ff912b5f6199ade55a4eaff1c8e7eefb8145c970 (diff) | |
| parent | 21166f820bc793111ad40a950807dc84e961fad5 (diff) | |
Merge pull request #1054 from isanae/bunch-of-fixes
Bunch of fixes
Diffstat (limited to 'src/envmodule.cpp')
| -rw-r--r-- | src/envmodule.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/envmodule.cpp b/src/envmodule.cpp index 2ff5027d..5f2a5f5a 100644 --- a/src/envmodule.cpp +++ b/src/envmodule.cpp @@ -124,6 +124,12 @@ Module::FileInfo Module::getFileInfo() const return {}; } + if (e == ERROR_RESOURCE_DATA_NOT_FOUND) { + // not an error, no version information built into that module; + // happens often in wine + return {}; + } + log::error( "GetFileVersionInfoSizeW() failed on '{}', {}", m_path, formatSystemMessage(e)); |
