forked from AuroraMiddleware/gtk
textlinedisplaycache: fix const-preserving gtk_text_iter_order()
This commit is contained in:
parent
f743b95161
commit
40d99839d6
@ -511,7 +511,7 @@ gtk_text_line_display_cache_invalidate_range (GtkTextLineDisplayCache *cache,
|
||||
/* gtk_text_iter_order() preserving const */
|
||||
if (gtk_text_iter_compare (begin, end) > 0)
|
||||
{
|
||||
const GtkTextIter *tmp = begin;
|
||||
const GtkTextIter *tmp = end;
|
||||
end = begin;
|
||||
begin = tmp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user