mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
ole32: Avoid hardcoding array lengths.
This commit is contained in:
parent
eae3c2ae27
commit
67181743a6
1 changed files with 2 additions and 2 deletions
|
@ -635,7 +635,7 @@ static HRESULT WINAPI COMCAT_ICatInformation_EnumImplCategoriesOfClass(
|
||||||
REFCLSID rclsid,
|
REFCLSID rclsid,
|
||||||
LPENUMCATID *ppenumCATID)
|
LPENUMCATID *ppenumCATID)
|
||||||
{
|
{
|
||||||
static const WCHAR postfix[24] = { '\\', 'I', 'm', 'p', 'l', 'e', 'm', 'e',
|
static const WCHAR postfix[] = { '\\', 'I', 'm', 'p', 'l', 'e', 'm', 'e',
|
||||||
'n', 't', 'e', 'd', ' ', 'C', 'a', 't',
|
'n', 't', 'e', 'd', ' ', 'C', 'a', 't',
|
||||||
'e', 'g', 'o', 'r', 'i', 'e', 's', 0 };
|
'e', 'g', 'o', 'r', 'i', 'e', 's', 0 };
|
||||||
|
|
||||||
|
@ -657,7 +657,7 @@ static HRESULT WINAPI COMCAT_ICatInformation_EnumReqCategoriesOfClass(
|
||||||
REFCLSID rclsid,
|
REFCLSID rclsid,
|
||||||
LPENUMCATID *ppenumCATID)
|
LPENUMCATID *ppenumCATID)
|
||||||
{
|
{
|
||||||
static const WCHAR postfix[21] = { '\\', 'R', 'e', 'q', 'u', 'i', 'r', 'e',
|
static const WCHAR postfix[] = { '\\', 'R', 'e', 'q', 'u', 'i', 'r', 'e',
|
||||||
'd', ' ', 'C', 'a', 't', 'e', 'g', 'o',
|
'd', ' ', 'C', 'a', 't', 'e', 'g', 'o',
|
||||||
'r', 'i', 'e', 's', 0 };
|
'r', 'i', 'e', 's', 0 };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue