projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9efdbd7
)
USER:BIO: add linebreaks while loading the users biography from the server.
author
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 17 Jul 2012 11:54:34 +0000
(13:54 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 17 Jul 2012 11:54:34 +0000
(13:54 +0200)
webcit/useredit.c
patch
|
blob
|
history
diff --git
a/webcit/useredit.c
b/webcit/useredit.c
index 743c6f8b8ab6b17a3a4e19716e625f77bdb7fabc..6b407827f1d22e274231a4e0a4028e8a72bf65ab 100644
(file)
--- a/
webcit/useredit.c
+++ b/
webcit/useredit.c
@@
-461,8
+461,10
@@
void tmplput_USER_BIO(StrBuf *Target, WCTemplputParams *TP)
if ( (StrLength(Buf)==3) &&
!strcmp(ChrPtr(Buf), "000"))
Done = 1;
if ( (StrLength(Buf)==3) &&
!strcmp(ChrPtr(Buf), "000"))
Done = 1;
- else
+ else
{
StrBufAppendBuf(BioBuf, Buf, 0);
StrBufAppendBuf(BioBuf, Buf, 0);
+ StrBufAppendBufPlain(BioBuf, HKEY("\n"), 0);
+ }
}
StrBufAppendTemplate(Target, TP, BioBuf, 1);
FreeStrBuf(&BioBuf);
}
StrBufAppendTemplate(Target, TP, BioBuf, 1);
FreeStrBuf(&BioBuf);