2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00

Fix for inserting newlines into KI notes

This commit is contained in:
Florian Meissner
2012-01-08 16:39:23 -05:00
committed by Adam Johnson
parent 045feb4b13
commit d420ac6da7

View File

@ -186,6 +186,10 @@ void plKeyboardDevice::HandleKeyEvent(plOSMsg message, plKeyDef key, bool bKeyDo
plAvatarInputInterface::GetInstance()->ForceAlwaysRun(fCapsLockLock);
}
}
if (key == KEY_ENTER)
{
c = '\n';
}
// send a key event...
plKeyEventMsg* pMsg = TRACKED_NEW plKeyEventMsg;