wfreerdp-server: tiny fix

This commit is contained in:
C-o-r-E
2012-09-19 13:34:37 -04:00
parent 725c0679dd
commit cb149e4e99
2 changed files with 4 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ BOOL wf_settings_read_string_ascii(HKEY key, LPTSTR subkey, LPTSTR name, char**
DWORD dwType;
DWORD dwSize;
char* strA;
TCHAR* strX;
TCHAR* strX = NULL;
status = RegOpenKeyEx(key, subkey, 0, KEY_READ | KEY_WOW64_64KEY, &hKey);

View File

@@ -208,7 +208,9 @@ void wf_update_peer_activate(wfInfo* wfi, wfPeerContext* context)
{
if (wfi->activePeerCount < 1)
{
//wf_mirror_driver_activate(wfi);
#ifndef WITH_WIN8
wf_mirror_driver_activate(wfi);
#endif
ResumeThread(wfi->updateThread);
}