Skip to content
Snippets Groups Projects
Commit dd4ade38 authored by patacongo's avatar patacongo
Browse files

Fix: height, not width

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1401 42af7a65-404d-4744-a932-0658087f49c3
parent 18a1f48f
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ int nxtk_setsize(NXTKWINDOW hfwnd, FAR struct nxgl_size_s *size)
/* Add the sizes need for the toolbar and the borders */
newsize.w = size->w + 2 * CONFIG_NXTK_BORDERWIDTH;
newsize.h = size->w + fwnd->tbheight + 2 * CONFIG_NXTK_BORDERWIDTH;
newsize.h = size->h + fwnd->tbheight + 2 * CONFIG_NXTK_BORDERWIDTH;
/* Then set the window size */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment