mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 12:45:18 +03:00
22 lines
788 B
Diff
22 lines
788 B
Diff
From c52acdeffa043b1015eaa47dc68ddc50e46bd938 Mon Sep 17 00:00:00 2001
|
|
From: alexey <klirichek@manticoresearch.com>
|
|
Date: Fri, 27 May 2022 22:58:56 +0700
|
|
Subject: [PATCH] Fix github#790
|
|
|
|
---
|
|
src/dict/template_dict_traits.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/dict/template_dict_traits.cpp b/src/dict/template_dict_traits.cpp
|
|
index 4d235cba38..3c0c0b6192 100644
|
|
--- a/src/dict/template_dict_traits.cpp
|
|
+++ b/src/dict/template_dict_traits.cpp
|
|
@@ -446,7 +446,7 @@ DictRefPtr_c TemplateDictTraits_c::CloneBase ( TemplateDictTraits_c* pDict ) con
|
|
bool TemplateDictTraits_c::HasState() const
|
|
{
|
|
#if !WITH_STEMMER
|
|
- return ( m_tLemmatizer );
|
|
+ return ( (bool)m_tLemmatizer );
|
|
#else
|
|
return ( m_dDescStemmers.GetLength() > 0 || m_tLemmatizer );
|
|
#endif
|