"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/oleaut32/typelib.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

typelib.c  (wine-5.12.tar.xz):typelib.c  (wine-5.13.tar.xz)
skipping to change at line 730 skipping to change at line 730
{ {
BSTR freeHelpDir = NULL; BSTR freeHelpDir = NULL;
WCHAR *file_name; WCHAR *file_name;
/* if we created a new key, and helpDir was null, set the helpdir /* if we created a new key, and helpDir was null, set the helpdir
to the directory which contains the typelib. However, to the directory which contains the typelib. However,
if we just opened an existing key, we leave the helpdir alone */ if we just opened an existing key, we leave the helpdir alone */
if ((disposition == REG_CREATED_NEW_KEY) && (szHelpDir == NULL)) { if ((disposition == REG_CREATED_NEW_KEY) && (szHelpDir == NULL)) {
szHelpDir = freeHelpDir = SysAllocString(szFullPath); szHelpDir = freeHelpDir = SysAllocString(szFullPath);
file_name = wcsrchr(szHelpDir, '\\'); file_name = wcsrchr(szHelpDir, '\\');
if (file_name && file_name[0]) { if (file_name && file_name[1]) {
/* possible remove a numeric \index (resource-id) */ /* possible remove a numeric \index (resource-id) */
WCHAR *end_ptr = file_name + 1; WCHAR *end_ptr = file_name + 1;
while ('0' <= *end_ptr && *end_ptr <= '9') end_ptr++; while ('0' <= *end_ptr && *end_ptr <= '9') end_ptr++;
if (!*end_ptr) if (!*end_ptr)
{ {
*file_name = 0; *file_name = 0;
file_name = wcsrchr(szHelpDir, '\\'); file_name = wcsrchr(szHelpDir, '\\');
} }
} }
if (file_name) if (file_name)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)