Fix leading space bug
This commit is contained in:
parent
ffb8c54644
commit
66da51c73f
@ -68,16 +68,16 @@ remind(char * who)
|
|||||||
/* " (@" IRC_BLUE "%s" IRC_GREEN ")" IRC_STOP, */
|
/* " (@" IRC_BLUE "%s" IRC_GREEN ")" IRC_STOP, */
|
||||||
/* title, desc, repo)) */
|
/* title, desc, repo)) */
|
||||||
if (-1 == asprintf(&r,
|
if (-1 == asprintf(&r,
|
||||||
IRC_RED "%s: " IRC_YELLOW "%s" IRC_GREEN,
|
IRC_RED "%s: " IRC_YELLOW "%s" IRC_STOP,
|
||||||
title, desc))
|
title, desc))
|
||||||
{ /* this will probably never happen. But it implies a memory failure */
|
{ /* this will probably never happen. But it implies a memory failure */
|
||||||
r = strdup(IRC_RED "No memory!" IRC_STOP);
|
r = strdup(IRC_RED "No memory!" IRC_STOP);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
r = strdup(IRC_RED "No current assignment." IRC_STOP);
|
r = strdup(IRC_RED "No current assignment." IRC_STOP);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user