Module: wine Branch: master Commit: 390e2711f649191fbd3353b2a96838136b260f0c URL: http://source.winehq.org/git/wine.git/?a=commit;h=390e2711f649191fbd3353b2a9...
Author: Vincent Povirk vincent@codeweavers.com Date: Thu Nov 12 13:37:58 2009 -0600
ole32: Rename rootPropertyName to rootEntryName.
---
dlls/ole32/storage32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 2ac8127..9682a1e 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -65,7 +65,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(storage); static const BYTE STORAGE_magic[8] ={0xd0,0xcf,0x11,0xe0,0xa1,0xb1,0x1a,0xe1}; static const BYTE STORAGE_oldmagic[8] ={0xd0,0xcf,0x11,0xe0,0x0e,0x11,0xfc,0x0d};
-static const char rootPropertyName[] = "Root Entry"; +static const char rootEntryName[] = "Root Entry";
/**************************************************************************** * Storage32InternalImpl definitions. @@ -2266,7 +2266,7 @@ static HRESULT StorageImpl_Construct( * Initialize the property chain */ memset(&rootProp, 0, sizeof(rootProp)); - MultiByteToWideChar( CP_ACP, 0, rootPropertyName, -1, rootProp.name, + MultiByteToWideChar( CP_ACP, 0, rootEntryName, -1, rootProp.name, sizeof(rootProp.name)/sizeof(WCHAR) ); rootProp.sizeOfNameString = (strlenW(rootProp.name)+1) * sizeof(WCHAR); rootProp.stgType = STGTY_ROOT;