Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bd5ab1c6
Commit
bd5ab1c6
authored
Mar 18, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Use the correct facility for JScript errors.
parent
552cc456
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
jscript.h
dlls/jscript/jscript.h
+2
-2
No files found.
dlls/jscript/jscript.h
View file @
bd5ab1c6
...
...
@@ -526,7 +526,7 @@ static inline HRESULT disp_call_value(script_ctx_t *ctx, IDispatch *disp, jsval_
return
disp_call_value_with_caller
(
ctx
,
disp
,
vthis
,
flags
,
argc
,
argv
,
r
,
&
ctx
->
jscaller
->
IServiceProvider_iface
);
}
#define MAKE_JSERROR(code) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_
JSCRIPT
, code)
#define MAKE_JSERROR(code) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_
CONTROL
, code)
#define JS_E_TO_PRIMITIVE MAKE_JSERROR(IDS_TO_PRIMITIVE)
#define JS_E_INVALIDARG MAKE_JSERROR(IDS_INVALID_CALL_ARG)
...
...
@@ -591,7 +591,7 @@ static inline HRESULT disp_call_value(script_ctx_t *ctx, IDispatch *disp, jsval_
static
inline
BOOL
is_jscript_error
(
HRESULT
hres
)
{
return
HRESULT_FACILITY
(
hres
)
==
FACILITY_
JSCRIPT
;
return
HRESULT_FACILITY
(
hres
)
==
FACILITY_
CONTROL
;
}
const
char
*
debugstr_jsval
(
const
jsval_t
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment