summaryrefslogtreecommitdiff
path: root/src/gui/recorder.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-10 22:54:14 +0100
committerIra Rice <irarice@gmail.com>2009-02-10 20:29:13 -0700
commit4f038e895499fcf94fec168ef964f7de4f813113 (patch)
treee3f26d895923f4f14bf07f08cb1bac7cd23a32be /src/gui/recorder.cpp
parentff1205d2b89f7f2273a32176c746f36836d7bfa9 (diff)
downloadmana-4f038e895499fcf94fec168ef964f7de4f813113.tar.gz
mana-4f038e895499fcf94fec168ef964f7de4f813113.tar.bz2
mana-4f038e895499fcf94fec168ef964f7de4f813113.tar.xz
mana-4f038e895499fcf94fec168ef964f7de4f813113.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.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/recorder.cpp b/src/gui/recorder.cpp
index 032b9790..982d808d 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("");
}
-