Removed compilation warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
fd2cc45334
commit
81c98f228b
@ -2046,7 +2046,7 @@ void Fl_X::compose_state(int new_val)
|
||||
if ( ! dynamic_cast<Fl_Secret_Input*>(input) )
|
||||
input->mark( input->position() - Fl::compose_state );
|
||||
}
|
||||
else if ( text = dynamic_cast<Fl_Text_Display*>(widget) ) {
|
||||
else if ( (text = dynamic_cast<Fl_Text_Display*>(widget)) ) {
|
||||
int pos = text->insert_position();
|
||||
text->buffer()->select(pos - Fl::compose_state, pos);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user