diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-03 19:46:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-03 19:46:37 +0000 |
commit | cb842a3b50a28145bb8be977f4e9a7069701c88d (patch) | |
tree | ceff943c049bd7cbe1d9f4ed7ab836f8039098e6 /NxWidgets/nxwm/src | |
parent | a85f1d89916f8f0302c9f8cd77645a0c60fc93dc (diff) | |
download | nuttx-cb842a3b50a28145bb8be977f4e9a7069701c88d.tar.gz nuttx-cb842a3b50a28145bb8be977f4e9a7069701c88d.tar.bz2 nuttx-cb842a3b50a28145bb8be977f4e9a7069701c88d.zip |
Upated NxWM comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4692 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/src')
-rw-r--r-- | NxWidgets/nxwm/src/cnxconsole.cxx | 6 | ||||
-rw-r--r-- | NxWidgets/nxwm/src/cstartwindow.cxx | 2 | ||||
-rw-r--r-- | NxWidgets/nxwm/src/ctaskbar.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/NxWidgets/nxwm/src/cnxconsole.cxx b/NxWidgets/nxwm/src/cnxconsole.cxx index 3cf5e13b9..fb6ca680a 100644 --- a/NxWidgets/nxwm/src/cnxconsole.cxx +++ b/NxWidgets/nxwm/src/cnxconsole.cxx @@ -357,7 +357,9 @@ int CNxConsole::nxconsole(int argc, char *argv[]) } // Now re-direct stdout and stderr so that they use the NX console driver. - // Note that stdin is retained (file descriptor 0, probably the the serial console). + // Notes: (1) stdin is retained (file descriptor 0, probably the the serial + // console). (2) Don't bother trying to put debug instrumentation in the + // following becaue it will end up in the NxConsole window. (void)std::fflush(stdout); (void)std::fflush(stderr); @@ -372,7 +374,7 @@ int CNxConsole::nxconsole(int argc, char *argv[]) std::close(fd); - // Inform the parent thread that we successfully initialize + // Inform the parent thread that we successfully initialized g_nxconvars.result = true; sem_post(&g_nxconvars.sem); diff --git a/NxWidgets/nxwm/src/cstartwindow.cxx b/NxWidgets/nxwm/src/cstartwindow.cxx index 3190f50d9..f25ed8d2b 100644 --- a/NxWidgets/nxwm/src/cstartwindow.cxx +++ b/NxWidgets/nxwm/src/cstartwindow.cxx @@ -457,5 +457,3 @@ void CStartWindow::handleClickEvent(const NXWidgets::CWidgetEventArgs &e) } } - - diff --git a/NxWidgets/nxwm/src/ctaskbar.cxx b/NxWidgets/nxwm/src/ctaskbar.cxx index 2ba0c4b08..2c6bf660b 100644 --- a/NxWidgets/nxwm/src/ctaskbar.cxx +++ b/NxWidgets/nxwm/src/ctaskbar.cxx @@ -706,7 +706,7 @@ bool CTaskbar::createTaskbarWindow(void) * @param pPos The new position of the window. * @return True on success, false on failure. */ - + m_taskbar->setPosition(&pos); m_taskbar->setSize(&size); return true; |