Fixed code style

Conflicts:
	src/lib/arch/win32/ArchPluginWindows.cpp
This commit is contained in:
Xinyu Hou
2015-07-14 15:11:12 +01:00
committed by Jerry (Xinyu Hou)
parent 88214a0d3c
commit 5a9cbc97e3
7 changed files with 10 additions and 10 deletions

View File

@@ -810,11 +810,11 @@ MSWindowsKeyState::fakeCtrlAltDel()
// current thread must be on that desktop to do the broadcast
// and we can't switch just any thread because some own windows
// or hooks. so start a new thread to do the real work.
HANDLE hEvtSendSas = OpenEvent( EVENT_MODIFY_STATE, FALSE, "Global\\SendSAS" );
if ( hEvtSendSas ) {
HANDLE hEvtSendSas = OpenEvent(EVENT_MODIFY_STATE, FALSE, "Global\\SendSAS");
if (hEvtSendSas) {
LOG((CLOG_DEBUG "found the SendSAS event - signaling my launcher to simulate ctrl+alt+del"));
SetEvent( hEvtSendSas );
CloseHandle( hEvtSendSas );
SetEvent(hEvtSendSas);
CloseHandle(hEvtSendSas);
}
else {
Thread cad(new FunctionJob(&MSWindowsKeyState::ctrlAltDelThread));