From 5dc0127c6e887d4b40e71b0e851b4d4cd7c11647 Mon Sep 17 00:00:00 2001 From: Alex Alabuzhev Date: Wed, 2 Oct 2024 20:37:29 +0100 Subject: [PATCH] Minor --- far/sqlitedb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/far/sqlitedb.cpp b/far/sqlitedb.cpp index 8f05ae3ff9..a008909faf 100644 --- a/far/sqlitedb.cpp +++ b/far/sqlitedb.cpp @@ -636,7 +636,7 @@ static int combined_comparer(void* const Param, int const Size1, const void* con if (Context->Encoding == SQLITE_UTF16) { - return string_sort::detail::ordering_as_int(Context->Comparer( + return string_sort::ordering_as_int(Context->Comparer( view(Data1, Size1), view(Data2, Size2) )); @@ -645,7 +645,7 @@ static int combined_comparer(void* const Param, int const Size1, const void* con encoding::utf8::get_chars(RawView1, Context->CollationCache.Buffer1); encoding::utf8::get_chars(RawView2, Context->CollationCache.Buffer2); - return string_sort::detail::ordering_as_int(Context->Comparer( + return string_sort::ordering_as_int(Context->Comparer( Context->CollationCache.Buffer1, Context->CollationCache.Buffer2 ));