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 833097cbc4
)
This commit is contained in:
parent
2ffec6b48e
commit
ec8e914c81
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue