Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Mon, 18 Apr 2005 11:07:21 +0000 (11:07 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Mon, 18 Apr 2005 11:07:21 +0000 (11:07 +0000)
- fix typo

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@270 e385b8ad-14ed-0310-8656-cc95a2468c6d

sidebar.c

index d1116fa..0117864 100644 (file)
--- a/sidebar.c
+++ b/sidebar.c
@@ -72,7 +72,7 @@ static char *shortened_hierarchy (char *box)
     if (strchr (SidebarBoundary, box[i]))
       ++dots;
   }
-  for (i = safe_strlen (box); i >= 0; i--)
+  for (i = safe_strlen (box)-1; i >= 0; i--)
     if (strchr (SidebarBoundary, box[i])) {
       last_dot = &box[i];
       break;