projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f743b95
)
textlinedisplaycache: fix const-preserving gtk_text_iter_order()
author
Christian Hergert
<chergert@redhat.com>
Wed, 8 Mar 2023 21:00:08 +0000
(13:00 -0800)
committer
Christian Hergert
<chergert@redhat.com>
Wed, 8 Mar 2023 21:00:08 +0000
(13:00 -0800)
gtk/gtktextlinedisplaycache.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextlinedisplaycache.c
b/gtk/gtktextlinedisplaycache.c
index 1269f5654d5e3a32fe6131d30a890e76cf205eae..614b4d1e42773156acf88a2b88528ab60a189e05 100644
(file)
--- a/
gtk/gtktextlinedisplaycache.c
+++ b/
gtk/gtktextlinedisplaycache.c
@@
-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;
}