parent
f48a28ada3
commit
acc02b3609
@ -0,0 +1,25 @@
|
|||||||
|
From edc7a50a06f56992fe21a80afb4f20fbdc5654ed Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Tardon <dtardon@redhat.com>
|
||||||
|
Date: Thu, 20 May 2021 19:24:52 +0200
|
||||||
|
Subject: [PATCH] fix build with ICU 68
|
||||||
|
|
||||||
|
---
|
||||||
|
src/lib/EBOOKCharsetConverter.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/lib/EBOOKCharsetConverter.cpp b/src/lib/EBOOKCharsetConverter.cpp
|
||||||
|
index 0d85fa3..c9f8be0 100644
|
||||||
|
--- a/src/lib/EBOOKCharsetConverter.cpp
|
||||||
|
+++ b/src/lib/EBOOKCharsetConverter.cpp
|
||||||
|
@@ -124,7 +124,7 @@ bool EBOOKCharsetConverter::convertBytes(const char *const in, const unsigned le
|
||||||
|
m_converterToUTF8.get(), m_converterToUnicode.get(),
|
||||||
|
&outText, outText + out.size(), &inText, inText + length,
|
||||||
|
nullptr, nullptr, nullptr, nullptr,
|
||||||
|
- TRUE, TRUE, &status)
|
||||||
|
+ true, true, &status)
|
||||||
|
;
|
||||||
|
if (status==U_BUFFER_OVERFLOW_ERROR)
|
||||||
|
{
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
Loading…
Reference in new issue