Patches 4-6 from Petteri Aimonen

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5364 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-11-16 16:49:21 +00:00
parent 57ad695cf5
commit 0cf7957311
2 changed files with 12 additions and 4 deletions

View File

@ -198,9 +198,12 @@
This commit adds a simple forward declaration to the relevant files, based on the
configured icon. If the icon does not exist, linker will give an error about it.
Contributed by Petteri Aimonen.
* NxWidgets/nxwm/src/ctaskbar.cxx: Highlight the current window in the task bar.
* NxWidgets::CTaskBar: Highlight the current window in the task bar.
Contributed by Petteri Aimonen.
* NxWidgets/libnxwidgets/src/glyph_cycle.cxx: Width of glyph_cycle was wrong;
Desctructor needs to by public. From Petteri Aimonen.
* CNumericEdit. This is basically a label with plus and minus buttons.
Destructor needs to by public. From Petteri Aimonen.
* NxWidgets::CNumericEdit. This is basically a label with plus and minus buttons.
Contributed by Petteri, Aimonen.
* NxWM::CStartWindow: Fix mq_receive error handling with signal is recieved.
From Petteri Aimonen.

View File

@ -654,8 +654,13 @@ int CStartWindow::startWindow(int argc, char *argv[])
{
gdbg("ERROR: mq_receive failed: %d\n", errval);
}
else
{
gdbg("mq_receive interrupted by signal\n");
}
continue;
}
while (nbytes < 0);
gvdbg("Received msgid=%d nbytes=%d\n", msg.msgId, nbytes);
DEBUGASSERT(nbytes = sizeof(struct SStartWindowMessage) && msg.instance);