Module: wine Branch: refs/heads/master Commit: 9a974b899bfe216466b961cf52e6653508ea8740 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9a974b899bfe216466b961cf...
Author: Juan Lang juan_lang@yahoo.com Date: Sun Jun 4 20:49:16 2006 -0700
user: Use SetPropW rather than SetPropA for internal property.
---
dlls/user/winpos.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/user/winpos.c b/dlls/user/winpos.c index 70aea4f..0c23507 100644 --- a/dlls/user/winpos.c +++ b/dlls/user/winpos.c @@ -78,14 +78,16 @@ typedef struct
/* ----- internal functions ----- */
+static const WCHAR SysIP_W[] = { 'S','y','s','I','P',0 }; + 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 ) { - SetPropA( hwnd, "SysIP", pos ); + SetPropW( hwnd, SysIP_W, pos ); }
/***********************************************************************