summaryrefslogtreecommitdiff
path: root/src/chat.h
diff options
context:
space:
mode:
authorEsteban I. RM <me@exio4.xyz>2017-10-15 21:22:22 -0300
committerLoic Blot <loic.blot@unix-experience.fr>2017-10-17 19:22:09 +0200
commit792e013eaf4a572364457b96f6f9c07dafe6fe9a (patch)
tree124e08c9e3cc4704cd2a9ea49803fce96b046275 /src/chat.h
parent93d185ee5d481c007d7b5569d046471dc60d40b6 (diff)
downloadminetest-792e013eaf4a572364457b96f6f9c07dafe6fe9a.tar.gz
minetest-792e013eaf4a572364457b96f6f9c07dafe6fe9a.tar.bz2
minetest-792e013eaf4a572364457b96f6f9c07dafe6fe9a.zip
don't pass g_settings around, and use it directly
Diffstat (limited to 'src/chat.h')
-rw-r--r--src/chat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chat.h b/src/chat.h
index b1b3edcb0..40d9b771d 100644
--- a/src/chat.h
+++ b/src/chat.h
@@ -119,7 +119,7 @@ public:
u32 formatChatLine(const ChatLine& line, u32 cols,
std::vector<ChatFormattedLine>& destination) const;
- void resize(u32 scrollback);
+ void resize(u32 scrollback);
protected:
s32 getTopScrollPos() const;
s32 getBottomScrollPos() const;
@@ -283,8 +283,8 @@ public:
void scrollPageDown();
void scrollPageUp();
- // Resize recent buffer based on settings
- void applySettings(Settings* settings);
+ // Resize recent buffer based on settings
+ void applySettings();
private:
ChatBuffer m_console_buffer;