* Re: master 32bd911: Simplify x-dnd.el due to bignums
[not found] ` <20200105030755.D1C7921381@vcs0.savannah.gnu.org>
@ 2020-01-05 11:12 ` Pip Cet
0 siblings, 0 replies; only message in thread
From: Pip Cet @ 2020-01-05 11:12 UTC (permalink / raw)
To: emacs-devel, Paul Eggert; +Cc: emacs-diffs
On Sun, Jan 5, 2020 at 3:07 AM Paul Eggert <eggert@cs.ucla.edu> wrote:
> diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el
> index ea9d119..1272225 100644
> --- a/lisp/x-dnd.el
> +++ b/lisp/x-dnd.el
> @@ -545,14 +535,14 @@ FORMAT is 32 (not used). MESSAGE is the data part of an XClientMessageEvent."
>
> ((eq size 4)
> (if (eq byteorder ?l)
> - (cons (+ (ash (aref data (+ 3 offset)) 8)
> - (aref data (+ 2 offset)))
> - (+ (ash (aref data (1+ offset)) 8)
> - (aref data offset)))
> - (cons (+ (ash (aref data offset) 8)
> - (aref data (1+ offset)))
> - (+ (ash (aref data (+ 2 offset)) 8)
> - (aref data (+ 3 offset))))))))
> + (+ (ash (aref data (+ 3 offset)) 24)
> + (ash (aref data (+ 2 offset)) 16)
> + (ash (aref data (1+ offset)) 8)
> + (aref data offset))
> + (+ (ash (aref data offset) 24)
> + (aref data (1+ offset) 16)
This should be (ash (aref data (1+ offset)) 16), I think.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-05 11:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20200105030754.25104.7186@vcs0.savannah.gnu.org>
[not found] ` <20200105030755.D1C7921381@vcs0.savannah.gnu.org>
2020-01-05 11:12 ` master 32bd911: Simplify x-dnd.el due to bignums Pip Cet
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).