]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/input.cpp
Drop copyright and license notices from source files
[libs/datafile.git] / source / input.cpp
index f3f8f23f3343fa9352a618c82f8c151f2811573e..cc82227281563a195fa3a88c5d6e78ef4c44ffc1 100644 (file)
@@ -1,9 +1,3 @@
-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2006  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
 #include "input.h"
 
 namespace Msp {
@@ -17,9 +11,9 @@ Input::Input(IO::Base &i):
 
 int Input::get()
 {
-       int c=next;
-       next=-1;
-       if(c<0) c=in.get();
+       int c = next;
+       next = -1;
+       if(c<0) c = in.get();
        
        if(c=='\n')
                ++line;
@@ -30,7 +24,7 @@ int Input::get()
 int Input::peek()
 {
        if(next<0)
-               next=in.get();
+               next = in.get();
        return next;
 }