git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleaning up clang warnings
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
ipc.c
diff --git
a/Usermode/Applications/axwin3_src/WM/ipc.c
b/Usermode/Applications/axwin3_src/WM/ipc.c
index
5b600ee
..
7874335
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/ipc.c
+++ b/
Usermode/Applications/axwin3_src/WM/ipc.c
@@
-461,8
+461,8
@@
int IPC_Msg_FocusWindow(tIPC_Client *Client, tAxWin_IPCMessage *Msg)
ASSERT(Msg->ID == IPCMSG_FOCUSWINDOW);
// Don't allow the focus to be changed unless the client has the focus
ASSERT(Msg->ID == IPCMSG_FOCUSWINDOW);
// Don't allow the focus to be changed unless the client has the focus
-
if(!gpWM_FocusedWindow) return 1;
-
if(gpWM_FocusedWindow->Client != Client) return 1;
+
//
if(!gpWM_FocusedWindow) return 1;
+
//
if(gpWM_FocusedWindow->Client != Client) return 1;
win = IPC_int_GetWindow(Client, Msg->Window);
if(!win) return 1;
win = IPC_int_GetWindow(Client, Msg->Window);
if(!win) return 1;
UCC
git Repository :: git.ucc.asn.au