summaryrefslogtreecommitdiffhomepage
path: root/dev/Modules
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-12-12 11:31:43 +0100
committerAmlal <amlalelmahrouss@icloud.com>2024-12-12 11:31:43 +0100
commit51860741562f2486a5134dae60311919bcf13785 (patch)
tree2f03a875bc9877fed4da21753f522b8849421921 /dev/Modules
parent71ea4e60ed0b30590a48fde31a74b05e3dd14196 (diff)
FIX: Fix build and other fixes.
Signed-off-by: Amlal <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/Modules')
-rw-r--r--dev/Modules/FB/KWindow.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev/Modules/FB/KWindow.h b/dev/Modules/FB/KWindow.h
index d49f2d45..06cdd62e 100644
--- a/dev/Modules/FB/KWindow.h
+++ b/dev/Modules/FB/KWindow.h
@@ -134,8 +134,7 @@ namespace CG
inline SizeT CGDrawWindowList(ML_WINDOW_STRUCT** wnd, SizeT wnd_cnt)
{
- if (wnd_cnt == 0 ||
- !wnd)
+ if (!wnd_cnt)
return 0;
SizeT cnt = 0;