mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
remove temporary findwindow hack
This commit is contained in:
parent
a8db3c1ac4
commit
812ac70957
@ -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)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user