~ubuntu-branches/ubuntu/natty/xmedcon/natty

« back to all changes in this revision

Viewing changes to source/m-vifi.c

  • Committer: Bazaar Package Importer
  • Author(s): Roland Marcus Rutschmann
  • Date: 2008-03-20 16:30:00 UTC
  • mfrom: (1.1.11 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20080320163000-tvridqxpeahbkax8
Tags: 0.10.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 *                MdcEditFI()               - Edit FILEINFO structure      *
13
13
 *                                                                         *
14
14
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15
 
/* $Id: m-vifi.c,v 1.33 2007/05/21 20:16:15 enlf Exp $
 
15
/* $Id: m-vifi.c,v 1.35 2008/01/23 21:28:37 enlf Exp $
16
16
 */
17
17
 
18
18
/*
19
 
   Copyright (C) 1997-2007 by Erik Nolf
 
19
   Copyright (C) 1997-2008 by Erik Nolf
20
20
 
21
21
   This program is free software; you can redistribute it and/or modify it
22
22
   under the terms of the GNU General Public License as published by the
356
356
      id->slice_width  = slice_width;
357
357
      id->slice_spacing= slice_spacing;
358
358
 
359
 
      MdcFillImgPos(fi,i,i%fi->dim[3],(float)0.0);
 
359
      MdcFillImgPos(fi,i,fi->dim[3]==0 ? 0 : i%fi->dim[3],(float)0.0);
360
360
      MdcFillImgOrient(fi,i);
361
361
   }
362
362