mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +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;
|
CDate local_time_offset;
|
||||||
F64 *pow10_I64,
|
F64 *pow10_I64,
|
||||||
sys_os_version = 2.03;
|
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_str;
|
||||||
U8 *sys_os_version_full;
|
U8 *sys_os_version_full;
|
||||||
U8 *sys_os_version_nice;
|
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.
|
{//Clear all doc entries, except +H, hold entries.
|
||||||
Bool unlock;
|
Bool unlock;
|
||||||
|
|
||||||
|
text.raw_col = 0;
|
||||||
if (!doc && !(doc = DocPut))
|
if (!doc && !(doc = DocPut))
|
||||||
{
|
{
|
||||||
if (IsRaw)
|
if (IsRaw)
|
||||||
{
|
{
|
||||||
text.raw_col = 0;
|
|
||||||
MemSet(text.fb_alias, BLACK32, text.buffer_size);
|
MemSet(text.fb_alias, BLACK32, text.buffer_size);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue