summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/gtkgraphview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/gtkgraphview.c b/src/gtkext/gtkgraphview.c
index ac78981..c10d9c1 100644
--- a/src/gtkext/gtkgraphview.c
+++ b/src/gtkext/gtkgraphview.c
@@ -762,7 +762,7 @@ static void gtk_graph_view_reach_caret_limit(GtkBufferView *node, GdkScrollDirec
#ifndef NDEBUG
if (ref != NULL)
- is_return = g_arch_instruction_is_return(ref);
+ is_return = (g_arch_instruction_get_flags(ref) & AIF_RETURN_POINT);
#endif
if (ref != NULL)