mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[ion/events] Add comment about defaultText method
Change-Id: Ief2b53395a7921d85b116ded935c9dfeb10d08fd
This commit is contained in:
committed by
Émilie Feral
parent
993de56d59
commit
6f21310e08
@@ -61,6 +61,8 @@ bool Event::isDefined() const {
|
||||
}
|
||||
|
||||
const char * Event::defaultText() const {
|
||||
/* As the ExternalText event is only available on the simulator, we save a
|
||||
* comparison by not handling it on the device. */
|
||||
if (m_id >= 4*PageSize) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user