Browse Source

Fix for inserting newlines into KI notes

Florian Meissner 13 years ago committed by Adam Johnson
parent
commit
d420ac6da7
  1. 4
      Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp

4
Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp

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

Loading…
Cancel
Save