BStringList: Fix compare_private_data[ignore_case]()
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
This commit is contained in:
parent
0c8935498e
commit
690a7f3d47
@ -17,16 +17,16 @@
|
||||
static int
|
||||
compare_private_data(const void* a, const void* b)
|
||||
{
|
||||
return BString::Private::StringFromData((char*)a).Compare(
|
||||
BString::Private::StringFromData((char*)b));
|
||||
return BString::Private::StringFromData(*(char**)a).Compare(
|
||||
BString::Private::StringFromData(*(char**)b));
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
compare_private_data_ignore_case(const void* a, const void* b)
|
||||
{
|
||||
return BString::Private::StringFromData((char*)a).ICompare(
|
||||
BString::Private::StringFromData((char*)b));
|
||||
return BString::Private::StringFromData(*(char**)a).ICompare(
|
||||
BString::Private::StringFromData(*(char**)b));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user