From 582a681c67487c717686c21bd82bf8e930f6987e Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 9 Nov 2013 20:06:42 +0100 Subject: HOPKINS: Replace cascades of if by switches for language checks --- engines/hopkins/globals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/hopkins/globals.cpp') diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index a9a0a81f08..cd66a84b73 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -148,7 +148,7 @@ void Globals::setConfig() { _language = LANG_SP; break; default: - warning("Unknown language in internal language mapping"); + error("Hopkins - SetConfig(): Unknown language in internal language mapping"); break; } // End of CHECKME -- cgit v1.2.3 From d5b21c4036f4581ac4f51ae964a916f104f1c356 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 18 Feb 2014 02:34:21 +0100 Subject: HOPKINS: Make GPL headers consistent in themselves. --- engines/hopkins/globals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/hopkins/globals.cpp') diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index cd66a84b73..1f192748cd 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -8,12 +8,12 @@ * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -- cgit v1.2.3