mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
remove temporary findwindow hack
This commit is contained in:
@@ -7,9 +7,6 @@
|
|||||||
|
|
||||||
BOOL findExistingInstance(void)
|
BOOL findExistingInstance(void)
|
||||||
{
|
{
|
||||||
// FIXME: temp
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
HWND hWnd = FindWindowA(WNDCLASS_NAME, WINDOW_TITLE);
|
HWND hWnd = FindWindowA(WNDCLASS_NAME, WINDOW_TITLE);
|
||||||
if (hWnd) {
|
if (hWnd) {
|
||||||
if (SetForegroundWindow(hWnd)) {
|
if (SetForegroundWindow(hWnd)) {
|
||||||
|
Reference in New Issue
Block a user