From f85272e3deb1950f55d96f76852dc6d9754b0bcd Mon Sep 17 00:00:00 2001 From: Itms Date: Wed, 30 Jul 2014 17:34:40 +0000 Subject: [PATCH] Small code style fix, related to a typo in the documentation. Also updates the Example component's copyright to match the current year. This was SVN commit r15586. --- source/simulation2/components/ICmpAIInterface.cpp | 4 ++-- source/simulation2/components/ICmpGuiInterface.cpp | 2 +- source/simulation2/docs/CCmpExample.cpp | 2 +- source/simulation2/docs/ICmpExample.cpp | 2 +- source/simulation2/docs/ICmpExample.h | 2 +- source/simulation2/docs/SimulationDocs.h | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/simulation2/components/ICmpAIInterface.cpp b/source/simulation2/components/ICmpAIInterface.cpp index 866c482424..81ca25f5ec 100644 --- a/source/simulation2/components/ICmpAIInterface.cpp +++ b/source/simulation2/components/ICmpAIInterface.cpp @@ -32,11 +32,11 @@ public: virtual CScriptVal GetRepresentation() { - return m_Script.Call ("GetRepresentation"); + return m_Script.Call("GetRepresentation"); } virtual CScriptVal GetFullRepresentation(bool flushEvents = false) { - return m_Script.Call ("GetFullRepresentation",flushEvents); + return m_Script.Call("GetFullRepresentation",flushEvents); } }; diff --git a/source/simulation2/components/ICmpGuiInterface.cpp b/source/simulation2/components/ICmpGuiInterface.cpp index 0095bda63f..5009f0adbe 100644 --- a/source/simulation2/components/ICmpGuiInterface.cpp +++ b/source/simulation2/components/ICmpGuiInterface.cpp @@ -32,7 +32,7 @@ public: virtual CScriptVal ScriptCall(int player, const std::wstring& cmd, CScriptVal data) { - return m_Script.Call ("ScriptCall", player, cmd, data); + return m_Script.Call("ScriptCall", player, cmd, data); } }; diff --git a/source/simulation2/docs/CCmpExample.cpp b/source/simulation2/docs/CCmpExample.cpp index 062817c829..ff41e17d30 100644 --- a/source/simulation2/docs/CCmpExample.cpp +++ b/source/simulation2/docs/CCmpExample.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2013 Wildfire Games. +/* Copyright (C) 2014 Wildfire Games. * ...the usual copyright header... */ diff --git a/source/simulation2/docs/ICmpExample.cpp b/source/simulation2/docs/ICmpExample.cpp index fad9fb9fa9..6d5e47cf7a 100644 --- a/source/simulation2/docs/ICmpExample.cpp +++ b/source/simulation2/docs/ICmpExample.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2013 Wildfire Games. +/* Copyright (C) 2014 Wildfire Games. * ...the usual copyright header... */ diff --git a/source/simulation2/docs/ICmpExample.h b/source/simulation2/docs/ICmpExample.h index 48af51892f..74f3266f07 100644 --- a/source/simulation2/docs/ICmpExample.h +++ b/source/simulation2/docs/ICmpExample.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2013 Wildfire Games. +/* Copyright (C) 2014 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify diff --git a/source/simulation2/docs/SimulationDocs.h b/source/simulation2/docs/SimulationDocs.h index c8b1de5556..e3a9fa8801 100644 --- a/source/simulation2/docs/SimulationDocs.h +++ b/source/simulation2/docs/SimulationDocs.h @@ -333,7 +333,7 @@ public: virtual int DoWhatever(int x, int y) { - return m_Script.Call ("DoWhatever", x, y); + return m_Script.Call("DoWhatever", x, y); } };