com.d: Fix EXCEPINFO.scode capitalization

This commit is contained in:
Dennis 2024-06-17 13:18:51 +02:00 committed by GitHub
parent 66b0160cd2
commit 5ca6c6b105
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

2
com.d
View File

@ -971,7 +971,7 @@ mixin template IDispatchImpl() {
} catch(Throwable e) {
// FIXME: fill in the exception info
if(except !is null) {
except.sCode = 1;
except.scode = 1;
import std.utf;
except.bstrDescription = SysAllocString(toUTFz!(wchar*)(e.toString()));
except.bstrSource = SysAllocString("amazing"w.ptr);