瀏覽代碼

More code style

Np3w 8 年之前
父節點
當前提交
2f56f8b890
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      nuklear.h

+ 1 - 2
nuklear.h

@@ -18770,9 +18770,8 @@ nk_window_is_hovered(struct nk_context *ctx)
     NK_ASSERT(ctx);
     NK_ASSERT(ctx->current);
     if (!ctx || !ctx->current) return 0;
-    if(ctx->current->flags & NK_WINDOW_HIDDEN){
+    if(ctx->current->flags & NK_WINDOW_HIDDEN)
         return 0;
-    }
     return nk_input_is_mouse_hovering_rect(&ctx->input, ctx->current->bounds);
 }