From 524bddec6cd554d703e56d27470ffa867bd5d0f4 Mon Sep 17 00:00:00 2001 From: GutPuncher Date: Mon, 8 Jan 2024 23:40:39 -0500 Subject: [PATCH] Move DocClear tex.raw_col zeroing out of if cond --- src/Kernel/KGlobals.ZC | 2 +- src/System/DolDoc/DocRecalcLib.ZC | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Kernel/KGlobals.ZC b/src/Kernel/KGlobals.ZC index bc646ec1..e87446d1 100755 --- a/src/Kernel/KGlobals.ZC +++ b/src/Kernel/KGlobals.ZC @@ -14,7 +14,7 @@ U8 *rev_bits_table; //Table with U8 bits reversed CDate local_time_offset; F64 *pow10_I64, sys_os_version = 2.03; -U64 sys_os_version_sub = 108; +U64 sys_os_version_sub = 109; U8 *sys_os_version_str; U8 *sys_os_version_full; U8 *sys_os_version_nice; diff --git a/src/System/DolDoc/DocRecalcLib.ZC b/src/System/DolDoc/DocRecalcLib.ZC index 175da6a2..136ea281 100755 --- a/src/System/DolDoc/DocRecalcLib.ZC +++ b/src/System/DolDoc/DocRecalcLib.ZC @@ -137,11 +137,11 @@ public U0 DocClear(CDoc *doc=NULL, Bool clear_holds=FALSE) {//Clear all doc entries, except +H, hold entries. Bool unlock; + text.raw_col = 0; if (!doc && !(doc = DocPut)) { if (IsRaw) { - text.raw_col = 0; MemSet(text.fb_alias, BLACK32, text.buffer_size); } return;