summaryrefslogtreecommitdiff
path: root/imageto/input-img.c
diff options
context:
space:
mode:
Diffstat (limited to 'imageto/input-img.c')
-rw-r--r--imageto/input-img.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/imageto/input-img.c b/imageto/input-img.c
index a1b967b..522ea50 100644
--- a/imageto/input-img.c
+++ b/imageto/input-img.c
@@ -1,20 +1,20 @@
-/* input-img.c: read Interleaf .img files.
-
-Copyright (C) 1992, 2011 Free Software Foundation, Inc.
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 3, 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
+# input-img.c: read Interleaf .img files.
+#
+# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
#include "config.h"
@@ -42,7 +42,7 @@ static unsigned pixel_depth;
#define IMG_GET_TWO() get_two (img_input_file, img_input_filename)
#define IMG_GET_FOUR() get_four (img_input_file, img_input_filename)
-
+
/* Only one file can be open at a time. We do no path searching. If
FILENAME can't be opened, we quit. */
@@ -66,7 +66,7 @@ img_close_input_file ()
xfclose (img_input_file, img_input_filename);
img_input_file = NULL;
}
-
+
/* Read the header information.
Modifies the global image_header in main.c. */
@@ -115,7 +115,7 @@ img_get_header ()
byte_width = short_width * 2;
line_in_bytes = xmalloc (byte_width);
}
-
+
/* Read one scanline of the image, returning each bit of the scanline in
a separate byte. We may use the `line_in_bytes' variable, allocated in
`img_get_header' just above, to read into. */