summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-04-18 10:45:28 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-04-18 10:46:25 +0200
commit114007f10dbc77fdc71c34689fc20ce3e3111492 (patch)
tree3153799161f2cae4157072565e4cbc2df3e71fe7 /src/bridge
parentbd7936bdfe799d6b665c4b2bd30a5210592d9ae4 (diff)
downloadbiboumi-114007f10dbc77fdc71c34689fc20ce3e3111492.tar.gz
biboumi-114007f10dbc77fdc71c34689fc20ce3e3111492.tar.bz2
biboumi-114007f10dbc77fdc71c34689fc20ce3e3111492.tar.xz
biboumi-114007f10dbc77fdc71c34689fc20ce3e3111492.zip
Actually do the last commit, but completely this time
Diffstat (limited to 'src/bridge')
-rw-r--r--src/bridge/colors.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bridge/colors.cpp b/src/bridge/colors.cpp
index e42c5a3..aff001e 100644
--- a/src/bridge/colors.cpp
+++ b/src/bridge/colors.cpp
@@ -73,7 +73,7 @@ Xmpp::body irc_format_to_xhtmlim(const std::string& s)
if (current_node->has_children())
current_node->get_last_child()->add_to_tail(txt);
else
- current_node->set_inner(txt);
+ current_node->add_to_inner(txt);
if (s[pos_end] == IRC_FORMAT_BOLD_CHAR)
styles.strong = !styles.strong;
@@ -151,9 +151,9 @@ Xmpp::body irc_format_to_xhtmlim(const std::string& s)
const std::string txt = s.substr(pos_start, pos_end-pos_start);
cleaned += txt;
if (current_node->has_children())
- current_node->get_last_child()->set_tail(txt);
+ current_node->get_last_child()->add_to_tail(txt);
else
- current_node->set_inner(txt);
+ current_node->add_to_inner(txt);
if (current_node != result.get())
{