diff -Naur Thunar-1.0.1.orig/plugins/thunar-sbr/thunar-sbr-remove-renamer.c Thunar-1.0.1/plugins/thunar-sbr/thunar-sbr-remove-renamer.c --- Thunar-1.0.1.orig/plugins/thunar-sbr/thunar-sbr-remove-renamer.c 2009-01-12 21:38:49.000000000 +0100 +++ Thunar-1.0.1/plugins/thunar-sbr/thunar-sbr-remove-renamer.c 2009-12-11 12:36:35.318660538 +0100 @@ -351,7 +351,8 @@ ? 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 || (start_offset > 0 && end_offset > text_length) + || (start_offset == 0 && end_offset >= text_length))) return g_strdup (text); /* determine start and end pointers */