Misc fixes for clean compilation with graphics debug enabled

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4061 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-10-24 22:03:37 +00:00
parent 227ca5f8a2
commit 13e9a60e3a
3 changed files with 40 additions and 8 deletions
+3 -2
View File
@@ -102,10 +102,11 @@ void nxtk_gettoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
struct nxgl_rect_s getrect;
#ifdef CONFIG_DEBUG
if (!hwnd || !rect || !dest)
if (!hfwnd || !rect || !dest)
{
gvdbg("Invalid parameters\n");
errno = EINVAL;
return ERROR;
return;
}
#endif
+3 -3
View File
@@ -102,10 +102,10 @@ void nxtk_getwindow(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
struct nxgl_rect_s getrect;
#ifdef CONFIG_DEBUG
if (!hwnd || !rect || !dest)
if (!hfwnd || !rect || !dest)
{
errno = EINVAL;
return ERROR;
gvdbg("Invalid parameters\n");
return;
}
#endif