summaryrefslogtreecommitdiffstats
path: root/zoom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zoom.cpp')
-rw-r--r--zoom.cpp24
1 files changed, 21 insertions, 3 deletions
diff --git a/zoom.cpp b/zoom.cpp
index 9535b8a..8f01c1b 100644
--- a/zoom.cpp
+++ b/zoom.cpp
@@ -1,3 +1,22 @@
+/*
+ * zoom.cpp
+ *
+ * Copyright (C) 2009 Matthias Schiffer <matthias@gamezock.de>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by the
+ * Free Software Foundation, either version 3 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 Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "Game.h"
#include "config.h"
#include "gl.h"
@@ -13,9 +32,8 @@
void resize(int width, int height)
{
- if(height==0)
- {
- height=1;
+ if(height == 0) {
+ height = 1;
}