From e3e835e1c03b38d7819b5cb8aba92e0f300b10fa Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 23 Mar 2009 07:51:23 -0600 Subject: Make some getters const --- src/gui/chat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/chat.h') diff --git a/src/gui/chat.h b/src/gui/chat.h index a64f24cd..972ecf9a 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -187,7 +187,7 @@ class ChatWindow : public Window, void scroll(int amount); #ifdef EATHENA_SUPPORT - char getPartyPrefix() { return mPartyPrefix; } + char getPartyPrefix() const { return mPartyPrefix; } void setPartyPrefix(char prefix) { mPartyPrefix = prefix; } #endif @@ -198,7 +198,7 @@ class ChatWindow : public Window, */ void setRecordingFile(const std::string &msg); - bool getReturnTogglesChat() { return mReturnToggles; } + bool getReturnTogglesChat() const { return mReturnToggles; } void setReturnTogglesChat(bool toggles) { mReturnToggles = toggles; } void doPresent(); -- cgit v1.2.3-60-g2f50