~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/xcf/xcf-read.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
31
31
 
32
32
guint
33
33
xcf_read_int32 (FILE    *fp,
34
 
                guint32 *data,
35
 
                gint     count)
 
34
                guint32 *data,
 
35
                gint     count)
36
36
{
37
37
  guint total = count;
38
38
 
52
52
 
53
53
guint
54
54
xcf_read_float (FILE   *fp,
55
 
                gfloat *data,
56
 
                gint    count)
 
55
                gfloat *data,
 
56
                gint    count)
57
57
{
58
58
  return xcf_read_int32 (fp, (guint32 *) ((void *) data), count);
59
59
}
60
60
 
61
61
guint
62
62
xcf_read_int8 (FILE   *fp,
63
 
               guint8 *data,
64
 
               gint    count)
 
63
               guint8 *data,
 
64
               gint    count)
65
65
{
66
66
  guint total = count;
67
67
 
81
81
 
82
82
guint
83
83
xcf_read_string (FILE   *fp,
84
 
                 gchar **data,
85
 
                 gint    count)
 
84
                 gchar **data,
 
85
                 gint    count)
86
86
{
87
87
  guint total = 0;
88
88
  gint  i;