user: Use SetPropW rather than SetPropA for internal property.

This commit is contained in:
Juan Lang 2006-06-04 20:49:16 -07:00 committed by Alexandre Julliard
parent d70db020a6
commit 9a974b899b
1 changed files with 4 additions and 2 deletions

View File

@ -78,14 +78,16 @@ typedef struct
/* ----- internal functions ----- */ /* ----- internal functions ----- */
static const WCHAR SysIP_W[] = { 'S','y','s','I','P',0 };
static inline INTERNALPOS *get_internal_pos( HWND hwnd ) static inline INTERNALPOS *get_internal_pos( HWND hwnd )
{ {
return GetPropA( hwnd, "SysIP" ); return GetPropW( hwnd, SysIP_W );
} }
static inline void set_internal_pos( HWND hwnd, INTERNALPOS *pos ) static inline void set_internal_pos( HWND hwnd, INTERNALPOS *pos )
{ {
SetPropA( hwnd, "SysIP", pos ); SetPropW( hwnd, SysIP_W, pos );
} }
/*********************************************************************** /***********************************************************************