From: <he...@us...> - 2014-06-25 08:25:36
|
Revision: 1814 http://sourceforge.net/p/rdesktop/code/1814 Author: hean01 Date: 2014-06-25 08:25:33 +0000 (Wed, 25 Jun 2014) Log Message: ----------- Make sure to use hwnd_to_long() and formating the value correctly. Modified Paths: -------------- seamlessrdp/trunk/ServerExe/main.c Modified: seamlessrdp/trunk/ServerExe/main.c =================================================================== --- seamlessrdp/trunk/ServerExe/main.c 2014-06-23 14:48:28 UTC (rev 1813) +++ seamlessrdp/trunk/ServerExe/main.c 2014-06-25 08:25:33 UTC (rev 1814) @@ -212,7 +212,7 @@ GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title)); - g_vchannel_write_fn("TITLE", "0x%x,%s,0x%x", hwnd, + g_vchannel_write_fn("TITLE", "0x%08lx,%s,0x%x", hwnd_to_long(hwnd), g_vchannel_strfilter_unicode_fn(title), 0); if (styles & WS_MAXIMIZE) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |