Commit ec8e914c authored by Eli Zaretskii's avatar Eli Zaretskii

Fix handling of -xrm on MS-Windows broken by recent commits

* src/w32reg.c (w32_get_string_resource): The argument V_RDB
is a 'char **', not a 'char *'.  This fixes -xrm handling on
MS-Windows, broken by conversion of x_get_string_resource to
terminal-specific hook.

(cherry picked from commit 833097cb)
parent 2ffec6b4
Pipeline #1842 failed with stage
in 68 minutes and 47 seconds
......@@ -143,7 +143,7 @@ w32_get_string_resource_1 (const char *name, const char *class, DWORD dwexptype)
const char *
w32_get_string_resource (void *v_rdb, const char *name, const char *class)
{
const char *rdb = v_rdb;
const char *rdb = *(char **) v_rdb;
if (rdb)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment