projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d159c
)
Fix crash in ns_mouse_position (bug#45541)
author
Alan Third
<alan@idiocy.org>
Fri, 1 Jan 2021 10:36:39 +0000
(10:36 +0000)
committer
Alan Third
<alan@idiocy.org>
Fri, 1 Jan 2021 10:36:39 +0000
(10:36 +0000)
* src/nsterm.m (ns_mouse_position): Explicitly initialize f to NULL.
; Do not merge to master
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index b75c6c7ef562f269a284032f72c8222d84618c6b..b8658a05dafefe88a847d56a6eff9de720f225a3 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-2480,7
+2480,7
@@
ns_mouse_position (struct frame **fp, int insist, Lisp_Object *bar_window,
id view;
NSPoint view_position;
Lisp_Object frame, tail;
- struct frame *f;
+ struct frame *f
= NULL
;
struct ns_display_info *dpyinfo;
NSTRACE ("ns_mouse_position");