summaryrefslogtreecommitdiff
path: root/src/gui/tb
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-02-25 21:57:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-02-25 21:57:42 (GMT)
commit4724b73c5161140222cab3c61bb5b3d0c8dde360 (patch)
treed341f43bacdad465ddae8c8b6c076a573c53e43d /src/gui/tb
parent9ff8702e5c51c7916e239caee13b974dccff6413 (diff)
Provided tweaks about positions when looking for address coordinates.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@480 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/tb')
-rw-r--r--src/gui/tb/portions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tb/portions.c b/src/gui/tb/portions.c
index 7e9cb6c..39537eb 100644
--- a/src/gui/tb/portions.c
+++ b/src/gui/tb/portions.c
@@ -246,7 +246,7 @@ static void track_address_on_binary_strip(GtkBinaryStrip *strip, GEditorItem *it
addr = gtk_binary_strip_get_location(strip);
vpanel = g_editor_item_get_current_view(item);
- gtk_view_panel_scroll_to_address(vpanel, addr);
+ gtk_view_panel_scroll_to_address(vpanel, addr, SPT_CENTER);
focus_address_in_editor_items(g_editor_item_get_current_binary(item), addr, item);