On Wed, Apr 9, 2008 at 4:16 PM, Andrew Talbot andrew.talbot@talbotville.com wrote:
Changelog: msdmo: Fix calculation of array size in bytes.
diff --git a/dlls/msdmo/dmoreg.c b/dlls/msdmo/dmoreg.c index f6d71bd..c6eb1b6 100644 --- a/dlls/msdmo/dmoreg.c +++ b/dlls/msdmo/dmoreg.c @@ -293,11 +293,11 @@ lend: */ HRESULT WINAPI DMOGetName(REFCLSID clsidDMO, WCHAR szName[]) { -#define NAME_SIZE 80 /* Size of szName[] */ WCHAR szguid[64]; HRESULT hres; HKEY hrkey = 0; HKEY hkey = 0;
enum {max_name_len = 80}; DWORD count;
TRACE("%s\n", debugstr_guid(clsidDMO));
Don't you think a static const int would be even better?
James Hawkins wrote:
Don't you think a static const int would be even better?
Indeed. Re-submission imminent.
Thanks,