plug-ins/common/tiff-load.c indentation changes.

2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c
        * plug-ins/common/tiff-save.c: indentation changes.


svn path=/trunk/; revision=22326
This commit is contained in:
Mukund Sivaraman 2007-04-25 13:56:10 +00:00 committed by Mukund Sivaraman
parent 051b3d6dfe
commit a484bf8aea
3 changed files with 15 additions and 10 deletions

View file

@ -1,3 +1,8 @@
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c
* plug-ins/common/tiff-save.c: indentation changes.
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c

View file

@ -90,7 +90,10 @@ static void run (const gchar *name,
gint *nreturn_vals,
GimpParam **return_vals);
static gint32 load_image (const gchar *filename,
static gboolean load_dialog (const gchar *filename,
TiffSelectedPages *pages);
static gint32 load_image (const gchar *filename,
TiffSelectedPages *pages);
static void load_rgba (TIFF *tif,
@ -171,9 +174,6 @@ static void tiff_error (const gchar *module,
const gchar *fmt,
va_list ap);
static gboolean load_dialog (const gchar *filename,
TiffSelectedPages *pages);
const GimpPlugInInfo PLUG_IN_INFO =
{
NULL, /* init_proc */
@ -189,9 +189,8 @@ static TiffSaveVals tsvals =
};
static GimpRunMode run_mode = GIMP_RUN_INTERACTIVE;
static GimpPageSelectorTarget
target = GIMP_PAGE_SELECTOR_TARGET_LAYERS;
static GimpRunMode run_mode = GIMP_RUN_INTERACTIVE;
static GimpPageSelectorTarget target = GIMP_PAGE_SELECTOR_TARGET_LAYERS;
static guchar bit2byte[256 * 8];
@ -331,7 +330,8 @@ tiff_error (const gchar *module,
}
static gboolean
load_dialog (const gchar *filename, TiffSelectedPages *pages)
load_dialog (const gchar *filename,
TiffSelectedPages *pages)
{
GtkWidget *dialog;
GtkWidget *vbox;

View file

@ -214,8 +214,8 @@ run (const gchar *name,
TIFFSetWarningHandler (tiff_warning);
TIFFSetErrorHandler (tiff_error);
if (strcmp (name, SAVE_PROC) == 0 ||
strcmp (name, SAVE2_PROC) == 0)
if ((strcmp (name, SAVE_PROC) == 0) ||
(strcmp (name, SAVE2_PROC) == 0))
{
/* Plug-in is either file_tiff_save or file_tiff_save2 */
image = orig_image = param[1].data.d_int32;