~ubuntu-branches/ubuntu/edgy/djvulibre/edgy

« back to all changes in this revision

Viewing changes to gui/shared/QT/MapBorder.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-07-03 11:38:23 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060703113823-un2te7742kk04c63
Tags: 3.5.17-1ubuntu1
* Sync with Debian
* debian/rules:
  - use dh_iconcache.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
//C- | MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
52
52
//C- +------------------------------------------------------------------
53
53
// 
54
 
// $Id: MapBorder.cpp,v 1.6 2003/11/07 22:08:17 leonb Exp $
55
 
// $Name: debian_version_3_5_16-1 $
 
54
// $Id: MapBorder.cpp,v 1.7 2006/01/19 15:20:40 leonb Exp $
 
55
// $Name: debian_version_3_5_17-1 $
56
56
 
57
57
#ifdef HAVE_CONFIG_H
58
58
# include "config.h"
329
329
   if (!oval->get_rmin()) return;
330
330
   
331
331
   int last_x=xc, last_y=yc;
332
 
   int points=(int) (2*Pi*sqrt(oval->get_rmax()))+1;
 
332
   int points=(int) (2*Pi*sqrt((double)(oval->get_rmax())))+1;
333
333
   TArray<int> xx(points-1), yy(points-1);
334
334
   int i, cnt=0;
335
335
   for(i=0;i<points;i++)