diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-10 22:54:14 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-10 22:55:39 +0100 |
commit | 19db8d94d88db56dc9484cc85308906add21826d (patch) | |
tree | 0ff93aecbe78729bdc139cc539df93dc20ada980 /src/gui/recorder.cpp | |
parent | 9f2a8799eea3d609a3863a7732ec280d83f12e47 (diff) | |
download | mana-19db8d94d88db56dc9484cc85308906add21826d.tar.gz mana-19db8d94d88db56dc9484cc85308906add21826d.tar.bz2 mana-19db8d94d88db56dc9484cc85308906add21826d.tar.xz mana-19db8d94d88db56dc9484cc85308906add21826d.zip |
Whitespace fixes
Mainly removed trailing whitespace. Also small fix in header of
recorder.cpp.
Diffstat (limited to 'src/gui/recorder.cpp')
-rw-r--r-- | src/gui/recorder.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/recorder.cpp b/src/gui/recorder.cpp index 153bffae..bebd3e19 100644 --- a/src/gui/recorder.cpp +++ b/src/gui/recorder.cpp @@ -15,7 +15,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with The Mana World; if not, write to the Free Software + * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -40,7 +40,7 @@ Recorder::Recorder(ChatWindow *chat, const std::string &title, mChat = chat; Button *button = new Button(buttonTxt, "activate", this); - setDefaultSize(0, windowContainer->getHeight() - 123 - button->getHeight() - + setDefaultSize(0, windowContainer->getHeight() - 123 - button->getHeight() - offsetY, button->getWidth() + offsetX, button->getHeight() + offsetY); @@ -99,7 +99,7 @@ void Recorder::changeRecordingStatus(const std::string &msg) */ mChat->chatLog(_("Starting to record..."), BY_SERVER); std::string file = std::string(PHYSFS_getUserDir()) + "/.aethyra/" + msgCopy; - + mStream.open(file.c_str(), std::ios_base::trunc); if (mStream.is_open()) @@ -113,4 +113,3 @@ void Recorder::action(const gcn::ActionEvent &event) { changeRecordingStatus(""); } - |