Robert Bragg 2b1759385e [text] Ensure clutter_text_get_selection copes with start/end positions of -1
I was seeing clutter_text_get_selection trying to malloc up to 4Gb due to
unexpected negative arithmetic for the start/end offsets which resulted
in a crash.

This just tests for positions of -1 before deciding if the start/end
positions need to be swapped.  The conversion from position to byte offset
already works with -1.
2009-05-13 14:34:00 +01:00
..
2009-01-20 18:47:50 +00:00
2009-04-03 13:36:30 +01:00
2009-03-10 12:38:04 +00:00
2009-03-13 14:29:27 +00:00