mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
- Fix bug in IntCallHookProc for window classes specified with atom.
svn path=/trunk/; revision=12125
This commit is contained in:
parent
023fe261e3
commit
3b2955e805
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: callback.c,v 1.25 2004/06/20 12:34:20 navaraf Exp $
|
||||
/* $Id: callback.c,v 1.26 2004/12/14 23:14:15 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -334,6 +334,7 @@ IntCallHookProc(INT HookId,
|
|||
Extra = (PCHAR) (CbtCreatewndExtra + 1);
|
||||
RtlCopyMemory(Extra, WindowName->Buffer, WindowName->Length);
|
||||
CbtCreatewndExtra->Cs.lpszName = (LPCWSTR) (Extra - (PCHAR) CbtCreatewndExtra);
|
||||
CbtCreatewndExtra->Cs.lpszClass = ClassName->Buffer;
|
||||
Extra += WindowName->Length;
|
||||
*((WCHAR *) Extra) = L'\0';
|
||||
Extra += sizeof(WCHAR);
|
||||
|
|
Loading…
Reference in a new issue