Move DocClear tex.raw_col zeroing out of if cond

This commit is contained in:
GutPuncher 2024-01-08 23:40:39 -05:00
parent fb60b20da0
commit 524bddec6c
No known key found for this signature in database
GPG key ID: 38CE0A7B6841D1C7
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;