aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/PalmOS/Src/missing/_stdlib.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/PalmOS/Src/missing/_stdlib.cpp b/backends/PalmOS/Src/missing/_stdlib.cpp
index da6e91245e..f9ccb9493a 100644
--- a/backends/PalmOS/Src/missing/_stdlib.cpp
+++ b/backends/PalmOS/Src/missing/_stdlib.cpp
@@ -230,6 +230,8 @@ void exit(Int16 status)
{
// need to change this
EventType event;
- event.eType = appStopEvent;
+ event.eType = keyDownEvent;
+ event.data.keyDown.chr = vchrLaunch;
+ event.data.keyDown.modifiers = commandKeyMask;
EvtAddEventToQueue (&event);
} \ No newline at end of file