From 9a974b899bfe216466b961cf52e6653508ea8740 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Sun, 4 Jun 2006 20:49:16 -0700 Subject: [PATCH] user: Use SetPropW rather than SetPropA for internal property. --- dlls/user/winpos.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/user/winpos.c b/dlls/user/winpos.c index 70aea4f3a2e..0c235071c07 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 ); } /***********************************************************************