Fix alpha for liquid nodes (#5494)
[oweals/minetest.git] / src / chat.cpp
index 46555b3dcc8f9da920efa2c44cade7e7ca971d6a..de7483e22360f45b9b236622f9a786f9f99c36ff 100644 (file)
@@ -386,7 +386,7 @@ s32 ChatBuffer::getBottomScrollPos() const
 
 
 
-ChatPrompt::ChatPrompt(std::wstring prompt, u32 history_limit):
+ChatPrompt::ChatPrompt(const std::wstring &prompt, u32 history_limit):
        m_prompt(prompt),
        m_line(L""),
        m_history(),