summaryrefslogtreecommitdiffhomepage
path: root/dev/Modules
diff options
context:
space:
mode:
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;