CVS: seamlessrdp/ServerExe/HookDll hookdll.c, 1.42, 1.43
Peter Ã
strand <[email protected]> Thu, 06 Mar 2008 07:41:13 -0800
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29565/HookDll
Modified Files:
hookdll.c
Log Message:
Minor optimization: no need to fetch styles if gotoing end.
Index: hookdll.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** hookdll.c 6 Mar 2008 15:35:28 -0000 1.42
--- hookdll.c 6 Mar 2008 15:41:11 -0000 1.43
***************
*** 380,385 ****
lparam = ((CWPSTRUCT *) details)->lParam;
- style = GetWindowLong(hwnd, GWL_STYLE);
-
if (!is_toplevel(hwnd))
{
--- 380,383 ----
***************
*** 387,390 ****
--- 385,390 ----
}
+ style = GetWindowLong(hwnd, GWL_STYLE);
+
switch (msg)
{
***************
*** 531,536 ****
lparam = ((CWPRETSTRUCT *) details)->lParam;
- style = GetWindowLong(hwnd, GWL_STYLE);
-
if (!is_toplevel(hwnd))
{
--- 531,534 ----
***************
*** 538,541 ****
--- 536,541 ----
}
+ style = GetWindowLong(hwnd, GWL_STYLE);
+
switch (msg)
{
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/