adjust rules for text view loading; handle non-evaluations / empty evaluations correctly

This commit is contained in:
Ryan Fleury committed 2026-06-09 16:02:33 -07:00
1 parent f57137288b
commit 8a098c5d45
3 files changed
+11 -3

No files matched your search

+4 -1
View File
@@ -3024,7 +3024,10 @@ txt_text_info_from_key_lang(Access *access, C_Key key, TXT_LangKind lang, U128 *
for(U64 rewind_idx = 0; rewind_idx < C_KEY_HASH_HISTORY_COUNT; rewind_idx += 1)
{
U128 hash = c_hash_from_key(key, rewind_idx);
result = txt_text_info_from_hash_lang(access, hash, lang);
if(!u128_match(hash, u128_zero()))
{
result = txt_text_info_from_hash_lang(access, hash, lang);
}
if(result.lines_count != 0)
{
if(hash_out)