mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Fix Windows build
Just making the code in the last commit (cross) compile on Windows. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8dea49ffe2
commit
6c0289daa0
1 changed files with 2 additions and 2 deletions
|
@ -40,10 +40,10 @@ void subsurface_unset_conf(char *name)
|
|||
wname = (wchar_t *)g_utf8_to_utf16(name, -1, NULL, NULL, NULL);
|
||||
if (!wname)
|
||||
return;
|
||||
RegDeleteKey(hkey, (LPCWSTR)wname);
|
||||
RegDeleteKey(hkey, (LPCTSTR)wname);
|
||||
}
|
||||
|
||||
void subsurface_set_conf(char *name, const void *value)
|
||||
void subsurface_set_conf(char *name, const char *value)
|
||||
{
|
||||
/* since we are using the pointer 'value' as both an actual
|
||||
* pointer to the string setting and as a way to pass the
|
||||
|
|
Loading…
Reference in a new issue