Index: x11/fbdesk/files/patch-TextBox.cc =================================================================== --- x11/fbdesk/files/patch-TextBox.cc (nonexistent) +++ x11/fbdesk/files/patch-TextBox.cc (working copy) @@ -0,0 +1,11 @@ +--- src/FbTk/TextBox.cc.orig 2006-03-25 15:42:00 UTC ++++ src/FbTk/TextBox.cc +@@ -199,7 +199,7 @@ void TextBox::buttonPressEvent(XButtonEv + int delta = width(); + int tmp = 0; + for(i = m_start_pos; i <= m_end_pos; i++) { +- tmp = abs(event.x - font().textWidth(m_text.c_str() + m_start_pos, i - m_start_pos)); ++ tmp = abs((int)(event.x - font().textWidth(m_text.c_str() + m_start_pos, i - m_start_pos))); + + if (tmp < delta) { + delta = tmp; Property changes on: x11/fbdesk/files/patch-TextBox.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property