p2r: correctly fall back to bytecode when regoff locations have offs of outside of [min_S16, max_S16] - in these cases, the offset is too big to fit inside of a packed 64-bit location encoding, so we need to fall back. before, we were only falling back incorrectly when the offset was outside of [0, max_U16], but this is not right. also, win32_wm: don't interpret '\n' (ctrl+J)

This commit is contained in:
Ryan Fleury committed 2026-08-21 12:08:23 -07:00
1 parent d75ea2d55e
commit 74624df829
3 files changed
+2 -8

No files matched your search

@@ -506,7 +506,7 @@ w32_wm_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case WM_CHAR:
{
U32 character = wParam;
if((character >= 32 && character != 127) || character == '\n' || character == '\r')
if((character >= 32 && character != 127) || character == '\r')
{
WM_Event *event = w32_wm_push_event(WM_EventKind_Text, window);
if(lParam & bit29)