]> git.eshelyaron.com Git - emacs.git/commit
Fix selection preservation bug when USE_XCB
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 14 Aug 2022 18:11:30 +0000 (11:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 14 Aug 2022 18:14:17 +0000 (11:14 -0700)
commit9664b8c8e1724af159913c511203e31f0e7d845e
treef169cb8e120ce5b66fa18ceac97fc7f921613f50
parent48ac40e60e8389442437a0fac9f32739a1c0416f
Fix selection preservation bug when USE_XCB

* src/xterm.c (x_preserve_selections) [USE_XCB]: Fix bug: use of
wrong ‘tem’ value.  Found by GCC -Wanalyzer-use-of-uninitialized-value.
Move decl of local to make the (former) bug more obvious.
src/xterm.c