Hi Gabriel,
On 9/23/19 2:51 PM, Gabriel Ivăncescu wrote:
--- a/dlls/vbscript/compile.c +++ b/dlls/vbscript/compile.c @@ -1815,6 +1815,7 @@ static void release_compiler(compile_ctx_t *ctx)
HRESULT compile_script(script_ctx_t *script, const WCHAR *src, const WCHAR *delimiter, DWORD flags, vbscode_t **ret) {
- static const WCHAR emptyW[] = { 0 }; function_t *new_func; function_decl_t *func_decl; class_decl_t *class_decl;
@@ -1822,6 +1823,8 @@ HRESULT compile_script(script_ctx_t *script, const WCHAR *src, const WCHAR *deli vbscode_t *code; HRESULT hres;
- if (!src) src = emptyW;
Please use L"" instead.
Thanks,
Jacek