mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-12-01 22:53:37 +03:00
style
Ignore-this: 1275ad4578408ba22204579054062c71 darcs-hash:20100112235856-f0a0d-a27f8dea98f0bbf83bbea25929c9b1a1107c9d8e.gz
This commit is contained in:
parent
8c261253d5
commit
618d5469b0
@ -172,7 +172,7 @@ serialize_cap_op out_ptr DecOut = do
|
||||
serialize_bytes out_bytes out_ptr
|
||||
serialize_cap_op out_ptr CharOut = do
|
||||
W# p <- pop
|
||||
-- todo? Truncate the character value to a single byte?
|
||||
-- XXX Truncate the character value to a single byte?
|
||||
let !out_byte = W8# (and# p 0xFF##)
|
||||
!out_ptr' = out_ptr `plusPtr` 1
|
||||
liftIO $ poke out_ptr out_byte
|
||||
|
Loading…
Reference in New Issue
Block a user