Fix Too many timers bug and snprintf format string bug in DnD protocol

Fixes #9628
This commit is contained in:
copilot-swe-agent[bot]
2026-03-09 06:18:55 +00:00
committed by Kovid Goyal
parent 9ee058eaf9
commit e55c4468e5
2 changed files with 5 additions and 5 deletions

View File

@@ -104,7 +104,7 @@ Requesting data is done by sending an escape code of the form::
OSC _dnd_code ; t=r ; MIME type ST
This will request data for the specifid MIME type. The terminal must respond
This will request data for the specified MIME type. The terminal must respond
with a series of escape codes of the form::
OSC _dnd_code ; t=r ; base64 encoded data ST
@@ -116,7 +116,7 @@ getting the data, the terminal must send an escape code of the form::
Here POSIX error name is a POSIX symbolic error name such as ``ENOENT`` or
``EIO`` or the value ``EUNKNOWN`` for an unknown error. Note that if a client
sends a request for another MIME type before the data for the revious MIME type
sends a request for another MIME type before the data for the previous MIME type
is completed, the terminal *must* switch over to sending data for the new MIME
type.