From e6f2e66ffb3d436bde9fa3a6fb500090e7a146a8 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 20 Jun 2005 22:43:35 +0000 Subject: Minor cosmetic changes. --- Dalos/Hexview.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Dalos/Hexview.cc') diff --git a/Dalos/Hexview.cc b/Dalos/Hexview.cc index 0519526..109aa3a 100644 --- a/Dalos/Hexview.cc +++ b/Dalos/Hexview.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Hexview.cc,v 1.2 2005-02-24 11:30:04 pixel Exp $ */ +/* $Id: Hexview.cc,v 1.3 2005-06-20 22:43:35 pixel Exp $ */ #include @@ -142,6 +142,7 @@ int hexview::get_shift() { void hexview::bind_handle(Handle * _h) { h = _h; + refresh_data(); } Uint8 * hexview::get_data() { @@ -161,6 +162,11 @@ Uint8 * hexview::get_data() { return data; } +void hexview::refresh_data() { + size_loaded = 0; + get_data(); +} + void hexview::draw() { int i, max_o, j, k, start_o, l, c; -- cgit v1.2.3