mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
[HHCTRL.OCX] Sync with Wine Staging 2.2. CORE-12823
89ca96d hhctrl.ocx: Don't skip a tag in next_node. a16344c hhctrl.ocx: Also take basename of folders when searching. svn path=/trunk/; revision=73945
This commit is contained in:
parent
1e842f0e63
commit
2721d9f046
|
@ -162,14 +162,14 @@ static SearchItem *SearchCHM_Storage(SearchItem *item, IStorage *pStorage,
|
|||
}
|
||||
while (IEnumSTATSTG_Next(elem, 1, &entries, &retr) == NOERROR)
|
||||
{
|
||||
filename = entries.pwcsName;
|
||||
while(strchrW(filename, '/'))
|
||||
filename = strchrW(filename, '/')+1;
|
||||
switch(entries.type) {
|
||||
case STGTY_STORAGE:
|
||||
item = SearchCHM_Folder(item, pStorage, entries.pwcsName, needle);
|
||||
item = SearchCHM_Folder(item, pStorage, filename, needle);
|
||||
break;
|
||||
case STGTY_STREAM:
|
||||
filename = entries.pwcsName;
|
||||
while(strchrW(filename, '/'))
|
||||
filename = strchrW(filename, '/')+1;
|
||||
if(strstrW(filename, szHTMext))
|
||||
{
|
||||
WCHAR *title = SearchCHM_File(pStorage, filename, needle);
|
||||
|
|
|
@ -134,17 +134,6 @@ static BOOL find_node_end(stream_t *stream, strbuf_t *buf)
|
|||
|
||||
BOOL next_node(stream_t *stream, strbuf_t *buf)
|
||||
{
|
||||
strbuf_t tmpbuf;
|
||||
|
||||
/* search through the end of the current node */
|
||||
strbuf_init(&tmpbuf);
|
||||
if(!find_node_end(stream, &tmpbuf))
|
||||
{
|
||||
strbuf_free(&tmpbuf);
|
||||
return FALSE;
|
||||
}
|
||||
strbuf_free(&tmpbuf);
|
||||
|
||||
/* find the beginning of the next node */
|
||||
if(!stream_chr(stream, NULL, '<'))
|
||||
return FALSE;
|
||||
|
|
|
@ -69,7 +69,7 @@ reactos/dll/win32/faultrep # Synced to WineStaging-1.9.11
|
|||
reactos/dll/win32/fontsub # Synced to WineStaging-1.9.13
|
||||
reactos/dll/win32/fusion # Synced to WineStaging-1.9.23
|
||||
reactos/dll/win32/gdiplus # Synced to WineStaging-1.9.23
|
||||
reactos/dll/win32/hhctrl.ocx # Synced to WineStaging-1.9.16
|
||||
reactos/dll/win32/hhctrl.ocx # Synced to WineStaging-2.2
|
||||
reactos/dll/win32/hlink # Synced to WineStaging-1.9.16
|
||||
reactos/dll/win32/hnetcfg # Synced to WineStaging-1.9.16
|
||||
reactos/dll/win32/httpapi # Synced to WineStaging-1.9.11
|
||||
|
|
Loading…
Reference in a new issue