aboutsummaryrefslogtreecommitdiff
path: root/src/Chatbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Chatbar.cpp')
-rw-r--r--src/Chatbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chatbar.cpp b/src/Chatbar.cpp
index bd510f7..aab13a0 100644
--- a/src/Chatbar.cpp
+++ b/src/Chatbar.cpp
@@ -155,11 +155,11 @@ namespace dchat
}
}
- void Chatbar::processEvent(const sf::Event &event, Channel *channel)
+ void Chatbar::processEvent(const sf::Event &event, Cache &cache, Channel *channel)
{
if(!focused) return;
- text.processEvent(event);
+ text.processEvent(event, cache);
if(event.type == sf::Event::TextEntered)
{
if(event.text.unicode == 13) // enter