Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
09003cf4
Commit
09003cf4
authored
8 years ago
by
Callum Prentice
Browse files
Options
Downloads
Patches
Plain Diff
Fix for MAINT-7054 Viewer Crashed when I used Japanese IM.
parent
71ffed27
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llwindow/llwindowwin32.cpp
+2
-2
2 additions, 2 deletions
indra/llwindow/llwindowwin32.cpp
indra/llwindow/llwindowwin32.h
+1
-1
1 addition, 1 deletion
indra/llwindow/llwindowwin32.h
with
3 additions
and
3 deletions
indra/llwindow/llwindowwin32.cpp
+
2
−
2
View file @
09003cf4
...
@@ -2201,7 +2201,7 @@ LRESULT CALLBACK LLWindowWin32::mainWindowProc(HWND h_wnd, UINT u_msg, WPARAM w_
...
@@ -2201,7 +2201,7 @@ LRESULT CALLBACK LLWindowWin32::mainWindowProc(HWND h_wnd, UINT u_msg, WPARAM w_
if
(
LLWinImm
::
isAvailable
()
&&
window_imp
->
mPreeditor
)
if
(
LLWinImm
::
isAvailable
()
&&
window_imp
->
mPreeditor
)
{
{
LRESULT
result
=
0
;
LRESULT
result
=
0
;
if
(
window_imp
->
handleImeRequests
(
w_param
,
l_param
,
&
result
))
if
(
window_imp
->
handleImeRequests
(
w_param
,
(
LONG_PTR
)
l_param
,
&
result
))
{
{
return
result
;
return
result
;
}
}
...
@@ -3800,7 +3800,7 @@ LLWindowCallbacks::DragNDropResult LLWindowWin32::completeDragNDropRequest( cons
...
@@ -3800,7 +3800,7 @@ LLWindowCallbacks::DragNDropResult LLWindowWin32::completeDragNDropRequest( cons
// When it handled the message, the value to be returned from
// When it handled the message, the value to be returned from
// the Window Procedure is set to *result.
// the Window Procedure is set to *result.
BOOL
LLWindowWin32
::
handleImeRequests
(
U32
request
,
U32
param
,
LRESULT
*
result
)
BOOL
LLWindowWin32
::
handleImeRequests
(
U32
request
,
LONG_PTR
param
,
LRESULT
*
result
)
{
{
if
(
mPreeditor
)
if
(
mPreeditor
)
{
{
...
...
This diff is collapsed.
Click to expand it.
indra/llwindow/llwindowwin32.h
+
1
−
1
View file @
09003cf4
...
@@ -148,7 +148,7 @@ class LLWindowWin32 : public LLWindow
...
@@ -148,7 +148,7 @@ class LLWindowWin32 : public LLWindow
U32
fillReconvertString
(
const
LLWString
&
text
,
S32
focus
,
S32
focus_length
,
RECONVERTSTRING
*
reconvert_string
);
U32
fillReconvertString
(
const
LLWString
&
text
,
S32
focus
,
S32
focus_length
,
RECONVERTSTRING
*
reconvert_string
);
void
handleStartCompositionMessage
();
void
handleStartCompositionMessage
();
void
handleCompositionMessage
(
U32
indexes
);
void
handleCompositionMessage
(
U32
indexes
);
BOOL
handleImeRequests
(
U32
request
,
U32
param
,
LRESULT
*
result
);
BOOL
handleImeRequests
(
U32
request
,
LONG_PTR
param
,
LRESULT
*
result
);
protected
:
protected
:
//
//
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment