projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
prepare documentation of the APIs
[apps/madmutt.git]
/
lib-ui
/
sidebar.c
diff --git
a/lib-ui/sidebar.c
b/lib-ui/sidebar.c
index
6668ca0
..
6ccff9f
100644
(file)
--- a/
lib-ui/sidebar.c
+++ b/
lib-ui/sidebar.c
@@
-82,7
+82,7
@@
static char *shortened_hierarchy (char *hbox, int maxlen)
new_box[j++] = hbox[i + 1];
new_box[j] = 0;
} else {
-
strcat (&new_box[j]
, last_dot);
+
m_strcat(&new_box[j], maxlen + 1
, last_dot);
break;
}
}