diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-03 00:30:09 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-03 00:30:09 +0000 |
commit | a9ad895e5916bf9c5159899e05407d864240a93e (patch) | |
tree | d9167f808cbf991e9a4e56a0146595024279820b /nuttx/graphics | |
parent | add4881dcb3e935a6341010c2c9e84faf033878e (diff) | |
download | px4-nuttx-a9ad895e5916bf9c5159899e05407d864240a93e.tar.gz px4-nuttx-a9ad895e5916bf9c5159899e05407d864240a93e.tar.bz2 px4-nuttx-a9ad895e5916bf9c5159899e05407d864240a93e.zip |
Fix: height, not width
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1401 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/nxtk/nxtk_setsize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxtk/nxtk_setsize.c b/nuttx/graphics/nxtk/nxtk_setsize.c index e2917fc34..f91aa7e0e 100644 --- a/nuttx/graphics/nxtk/nxtk_setsize.c +++ b/nuttx/graphics/nxtk/nxtk_setsize.c @@ -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 */ |