SIC_CompareEntrys !
Francois Gouget
fgouget at free.fr
Wed Oct 31 22:40:29 CST 2001
This one is separate from the previous patch because it changes a
function's name. But AFAICS this function is only used within
iconcache.c. This means it should be static too...
Changelog:
* dlls/shell32/iconcache.c
Rename SIC_CompareEntrys to SIC_CompareEntries!
Make it static
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Any sufficiently advanced Operating System is indistinguishable from Linux
-------------- next part --------------
Index: dlls/shell32/iconcache.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/iconcache.c,v
retrieving revision 1.48
diff -u -r1.48 iconcache.c
--- dlls/shell32/iconcache.c 2001/08/16 18:49:57 1.48
+++ dlls/shell32/iconcache.c 2001/11/01 02:46:43
@@ -40,12 +40,12 @@
static CRITICAL_SECTION SHELL32_SicCS = CRITICAL_SECTION_INIT("SHELL32_SicCS");
/*****************************************************************************
- * SIC_CompareEntrys [called by comctl32.dll]
+ * SIC_CompareEntries [called by comctl32.dll]
*
* NOTES
* Callback for DPA_Search
*/
-INT CALLBACK SIC_CompareEntrys( LPVOID p1, LPVOID p2, LPARAM lparam)
+static INT CALLBACK SIC_CompareEntries( LPVOID p1, LPVOID p2, LPARAM lparam)
{ TRACE("%p %p\n", p1, p2);
if (((LPSIC_ENTRY)p1)->dwSourceIndex != ((LPSIC_ENTRY)p2)->dwSourceIndex) /* first the faster one*/
@@ -144,7 +144,7 @@
if (NULL != pDPA_GetPtr (sic_hdpa, 0))
{
- index = pDPA_Search (sic_hdpa, &sice, -1L, SIC_CompareEntrys, 0, 0);
+ index = pDPA_Search (sic_hdpa, &sice, -1L, SIC_CompareEntries, 0, 0);
}
if ( INVALID_INDEX == index )
More information about the wine-patches
mailing list