From 81c98f228bd22c1b305ddca16c4e0c71a2b255b5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 18 Dec 2012 16:06:56 +0000 Subject: [PATCH] Removed compilation warning. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(input) ) input->mark( input->position() - Fl::compose_state ); } - else if ( text = dynamic_cast(widget) ) { + else if ( (text = dynamic_cast(widget)) ) { int pos = text->insert_position(); text->buffer()->select(pos - Fl::compose_state, pos); }