浏览代码

Merge pull request #757 from mischief/nkwindowtypo

fix nk_window_find prototype in documentation
Micha Mettke 7 年之前
父节点
当前提交
181cfd86c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/nuklear.h

+ 1 - 1
src/nuklear.h

@@ -1295,7 +1295,7 @@ NK_API void nk_end(struct nk_context *ctx);
 /// Finds and returns a window from passed name
 ///
 /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c
-/// void nk_end(struct nk_context *ctx);
+/// struct nk_window *nk_window_find(struct nk_context *ctx, const char *name);
 /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ///
 /// Parameter   | Description