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:
parent
4b117065e9
commit
833097cbc4
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