summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/chat.h4
-rw-r--r--src/gui/recorder.h2
2 files changed, 3 insertions, 3 deletions
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();
diff --git a/src/gui/recorder.h b/src/gui/recorder.h
index 2a47b5c4..39d00c2c 100644
--- a/src/gui/recorder.h
+++ b/src/gui/recorder.h
@@ -58,7 +58,7 @@ class Recorder : public Window, public gcn::ActionListener
/**
* Whether or not the recorder is in use.
*/
- bool isRecording() {return (bool) mStream.is_open();}
+ bool isRecording() { return (bool) mStream.is_open(); }
/**
* called when the button is pressed