diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 4b8a4232e..09da25617 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -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); } |
