Mercurial > hg > nnchat
comparison nnchat.c @ 40:3e2548c3eb51
Fix PRV handling.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 26 Oct 2008 02:50:41 +0300 |
parents | bb25bdfc0d71 |
children | fe3140cec818 |
comparison
equal
deleted
inserted
replaced
39:bb25bdfc0d71 | 40:3e2548c3eb51 |
---|---|
758 return -2; | 758 return -2; |
759 } | 759 } |
760 | 760 |
761 | 761 |
762 if (*s == '/') { | 762 if (*s == '/') { |
763 if (!strncmp(s, "/BPRV", 5)) { | 763 t = stripTags(s + 1); |
764 t = stripTags(s + 2); | 764 if (!strncmp(t, "BPRV", 4)) { |
765 h = decodeStr2(t + 1); | |
766 printMsg("½11½%s½0½\n", h); | |
767 } else { | |
765 h = decodeStr2(t); | 768 h = decodeStr2(t); |
766 printMsg("%s\n", h); | 769 printMsg("½9½* %s½0½\n", h); |
767 } else { | |
768 t = stripTags(s + 1); | |
769 h = decodeStr2(t); | |
770 printMsg("* %s\n", h); | |
771 } | 770 } |
772 th_free(h); | 771 th_free(h); |
773 th_free(t); | 772 th_free(t); |
774 } else { | 773 } else { |
775 t = stripTags(s); | 774 t = stripTags(s); |