mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Move DocClear tex.raw_col zeroing out of if cond
This commit is contained in:
parent
fb60b20da0
commit
524bddec6c
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue