diff options
| author | Manolo Gouy <Manolo> | 2012-12-18 16:06:56 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2012-12-18 16:06:56 +0000 |
| commit | 81c98f228bd22c1b305ddca16c4e0c71a2b255b5 (patch) | |
| tree | 3cf6255c9bcc217c72200c163244b9889a8adf2d /src | |
| parent | fd2cc45334a4005b8880d0b9d5d8ae79e01bfe7b (diff) | |
Removed compilation warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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); } |
