projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix an alone if to be with a missing else
[oweals/minetest.git]
/
src
/
chat.h
diff --git
a/src/chat.h
b/src/chat.h
index 40d9b771de7b8d7268a2964865109225c5d22f93..ef5a9d47a5b3c83fab9ef388e4f5f5eca101c944 100644
(file)
--- a/
src/chat.h
+++ b/
src/chat.h
@@
-265,7
+265,7
@@
public:
// Get the recent messages buffer
ChatBuffer& getRecentBuffer();
// Concatenate all recent messages
// Get the recent messages buffer
ChatBuffer& getRecentBuffer();
// Concatenate all recent messages
- EnrichedString getRecentChat();
+ EnrichedString getRecentChat()
const
;
// Get the console prompt
ChatPrompt& getPrompt();
// Get the console prompt
ChatPrompt& getPrompt();
@@
-285,7
+285,7
@@
public:
// Resize recent buffer based on settings
void applySettings();
// Resize recent buffer based on settings
void applySettings();
-
+
private:
ChatBuffer m_console_buffer;
ChatBuffer m_recent_buffer;
private:
ChatBuffer m_console_buffer;
ChatBuffer m_recent_buffer;