diff options
author | TingPing <tingping@tingping.se> | 2014-11-30 22:27:00 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-11-30 22:27:00 -0500 |
commit | 85557f2416d8efd0a8178cab91dbccf4d9bfb5b3 (patch) | |
tree | 84334c0ee059313516449a2d6c5f065a48888cb1 /src | |
parent | 0019af675ad697bc28bd52d6025ff1c95b461f77 (diff) |
Fix duplicate timestamps on selection
Fixes #1226
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-gtk/xtext.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |