From 85557f2416d8efd0a8178cab91dbccf4d9bfb5b3 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sun, 30 Nov 2014 22:27:00 -0500 Subject: Fix duplicate timestamps on selection Fixes #1226 --- src/fe-gtk/xtext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fe-gtk') diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c index 63b87ce8..2de852f1 100644 --- a/src/fe-gtk/xtext.c +++ b/src/fe-gtk/xtext.c @@ -1649,7 +1649,8 @@ gtk_xtext_check_mark_stamp (GtkXText *xtext, GdkModifierType mask) { gboolean redraw = FALSE; - if (mask & STATE_SHIFT || prefs.hex_text_autocopy_stamp) + if ((mask & STATE_SHIFT || prefs.hex_text_autocopy_stamp) + && (!prefs.hex_stamp_text || prefs.hex_text_indent)) { if (!xtext->mark_stamp) { -- cgit 1.4.1