projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b07d69b
)
fix sidebar counters.
author
Pierre Habouzit
<madcoder@debian.org>
Mon, 30 Oct 2006 16:56:27 +0000
(17:56 +0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Mon, 30 Oct 2006 16:56:27 +0000
(17:56 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
sidebar.c
patch
|
blob
|
history
diff --git
a/sidebar.c
b/sidebar.c
index
cd3db75
..
f86597c
100644
(file)
--- a/
sidebar.c
+++ b/
sidebar.c
@@
-232,7
+232,7
@@
int make_sidebar_entry (char* box, int idx, size_t len)
m_strcpy(entry, len - lencnt, box);
entry[m_strlen(entry)] = ' ';
m_strcpy(entry, len - lencnt, box);
entry[m_strlen(entry)] = ' ';
- m
_strcpy(entry + (len - lencnt), lencnt, no
);
+ m
emcpy(entry + (len - lencnt), no, lencnt
);
addnstr (entry, len);
addnstr (entry, len);