Skip to content

Commit 409de19

Browse files
authored
Merge pull request #941 from TomJGooding/docs-layouting-remove-dangling-and
docs: fix typos in layouting documentation
2 parents ce181dd + b48694e commit 409de19

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

nuklear.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,7 @@ NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk
22002200
* reset it back to be derived from font height. <br /><br />
22012201
*
22022202
* Also if you change the font in nuklear it will automatically change the minimum
2203-
* row height for you and. This means if you change the font but still want
2203+
* row height for you. This means if you change the font but still want
22042204
* a minimum row height smaller than the font you have to repush your value. <br /><br />
22052205
*
22062206
* For actually more advanced UI I would even recommend using the `nk_layout_space_xxx`
@@ -2687,7 +2687,7 @@ NK_API void nk_layout_space_begin(struct nk_context*, enum nk_layout_format, flo
26872687
* Parameter | Description
26882688
* ------------|-----------------------------------------------------------
26892689
* \param[in] ctx | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin`
2690-
* \param[in] bounds | Position and size in laoyut space local coordinates
2690+
* \param[in] bounds | Position and size in layout space local coordinates
26912691
*/
26922692
NK_API void nk_layout_space_push(struct nk_context*, struct nk_rect bounds);
26932693

src/nuklear.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,7 @@ NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk
19841984
* reset it back to be derived from font height. <br /><br />
19851985
*
19861986
* Also if you change the font in nuklear it will automatically change the minimum
1987-
* row height for you and. This means if you change the font but still want
1987+
* row height for you. This means if you change the font but still want
19881988
* a minimum row height smaller than the font you have to repush your value. <br /><br />
19891989
*
19901990
* For actually more advanced UI I would even recommend using the `nk_layout_space_xxx`
@@ -2471,7 +2471,7 @@ NK_API void nk_layout_space_begin(struct nk_context*, enum nk_layout_format, flo
24712471
* Parameter | Description
24722472
* ------------|-----------------------------------------------------------
24732473
* \param[in] ctx | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin`
2474-
* \param[in] bounds | Position and size in laoyut space local coordinates
2474+
* \param[in] bounds | Position and size in layout space local coordinates
24752475
*/
24762476
NK_API void nk_layout_space_push(struct nk_context*, struct nk_rect bounds);
24772477

0 commit comments

Comments
 (0)