diff options
Diffstat (limited to 'plugins/thunar-sbr')
-rw-r--r-- | plugins/thunar-sbr/thunar-sbr-remove-renamer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/thunar-sbr/thunar-sbr-remove-renamer.c b/plugins/thunar-sbr/thunar-sbr-remove-renamer.c index 42261a58..0761814c 100644 --- a/plugins/thunar-sbr/thunar-sbr-remove-renamer.c +++ b/plugins/thunar-sbr/thunar-sbr-remove-renamer.c @@ -349,7 +349,7 @@ thunar_sbr_remove_renamer_process (ThunarxRenamer *renamer, ? remove_renamer->start_offset : (text_length - remove_renamer->start_offset); /* check if anything should be removed */ - if (G_UNLIKELY (start_offset >= end_offset || end_offset >= text_length)) + if (G_UNLIKELY (start_offset >= end_offset || end_offset > text_length)) return g_strdup (text); /* determine start and end pointers */ |