mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
comctl32: Avoid using __FUNCTION__ in ranges_check.
This commit is contained in:
parent
35515e4669
commit
b99a2a9ff8
1 changed files with 3 additions and 3 deletions
|
@ -3053,14 +3053,14 @@ static INT CALLBACK ranges_cmp(LPVOID range1, LPVOID range2, LPARAM flags)
|
|||
return cmp;
|
||||
}
|
||||
|
||||
#define ranges_check(ranges, desc) if (TRACE_ON(listview)) ranges_assert(ranges, desc, __FUNCTION__, __LINE__)
|
||||
#define ranges_check(ranges, desc) if (TRACE_ON(listview)) ranges_assert(ranges, desc, __FILE__, __LINE__)
|
||||
|
||||
static void ranges_assert(RANGES ranges, LPCSTR desc, const char *func, int line)
|
||||
static void ranges_assert(RANGES ranges, LPCSTR desc, const char *file, int line)
|
||||
{
|
||||
INT i;
|
||||
RANGE *prev, *curr;
|
||||
|
||||
TRACE("*** Checking %s:%d:%s ***\n", func, line, desc);
|
||||
TRACE("*** Checking %s:%d:%s ***\n", file, line, desc);
|
||||
assert (ranges);
|
||||
assert (DPA_GetPtrCount(ranges->hdpa) >= 0);
|
||||
ranges_dump(ranges);
|
||||
|
|
Loading…
Reference in a new issue