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:
ab5ad0a
)
Andreas Krennmair:
author
ak1
<ak1@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sun, 27 Feb 2005 17:25:48 +0000
(17:25 +0000)
committer
ak1
<ak1@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sun, 27 Feb 2005 17:25:48 +0000
(17:25 +0000)
the context given to set_buffystats might be NULL, handle this case.
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@106
e385b8ad
-14ed-0310-8656-
cc95a2468c6d
sidebar.c
patch
|
blob
|
history
diff --git
a/sidebar.c
b/sidebar.c
index
bbc2c60
..
f5206c9
100644
(file)
--- a/
sidebar.c
+++ b/
sidebar.c
@@
-207,6
+207,8
@@
void set_curbuffy(char buf[LONG_STRING])
void set_buffystats (CONTEXT* Context)
{
BUFFY* tmp = Incoming;
+ if (!Context)
+ return;
while (tmp)
{
if (strcmp (tmp->path, Context->path) == 0)