Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
20d60baf
Commit
20d60baf
authored
Aug 19, 2010
by
Jason Rumney
Browse files
(w32_wnd_proc): Don't check context before initializing.
parent
4b9c0a49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
src/ChangeLog
src/ChangeLog
+4
-0
src/w32fns.c
src/w32fns.c
+4
-3
No files found.
src/ChangeLog
View file @
20d60baf
2010-08-19 Jason Rumney <jasonr@gnu.org>
* w32fns.c (w32_wnd_proc): Don't check context before initializing.
2010-08-19 Jan Djärv <jan.h.d@swipnet.se>
* nsselect.m (nxatoms_of_nsselect): Use "Selection" and "Secondary".
...
...
src/w32fns.c
View file @
20d60baf
...
...
@@ -3109,9 +3109,6 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
HIMC context;
struct window *w;
if (!context)
break;
f = x_window_to_frame (dpyinfo, hwnd);
w = XWINDOW (FRAME_SELECTED_WINDOW (f));
...
...
@@ -3129,6 +3126,10 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
- WINDOW_MODE_LINE_HEIGHT (w));
context = get_ime_context_fn (hwnd);
if (!context)
break;
set_ime_composition_window_fn (context, &form);
release_ime_context_fn (hwnd, context);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment