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.
This commit is contained in:
Eli Zaretskii 2019-05-28 19:58:27 +03:00
parent 4b117065e9
commit 833097cbc4

View file

@ -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)
{