~ubuntu-branches/ubuntu/raring/njplot/raring-proposed

« back to all changes in this revision

Viewing changes to njplot-vib.c

  • Committer: Package Import Robot
  • Author(s): Charles Plessy
  • Date: 2012-01-04 19:02:39 UTC
  • mfrom: (1.2.7) (3.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20120104190239-wa9y3nt0gv8o2dnu
Tags: 2.4-1
* New upstream release integrating Debian patches.
* Removed debian/patches.
* Updated debian/copyright to latest format and removed superfluous fields.
* Simplified Homepage URL (debian/control).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
2
2
 
 
3
 NJplot :  a program that draws phylogenetic trees
 
4
 
 
5
 Copyright (C) Manolo Gouy 1996 onward
 
6
 
 
7
 All parts of the source code are distributed under
 
8
 the GNU public licence.  See http://www.opensource.org for details.
 
9
 
 
10
 
3
11
one of WIN_MOTIF  WIN_MAC  WIN_MSWIN must be defined for normal compilation
4
12
 
5
13
under WIN_MOTIF, one can also define NO_PDF so the PDFLibLite library is not used,
24
32
/usr/X11R6/lib/X11/app-defaults/Vibrant    (Linux)
25
33
/usr/openwin/lib/X11/app-defaults/Vibrant   (Solaris)
26
34
*/
27
 
#define NJPLOTVERSION "2.3"
 
35
#define NJPLOTVERSION "2.4"
28
36
 
29
37
#include <math.h>
30
38
#include <time.h>
474
482
#endif
475
483
   if(pdf_plot_only) {
476
484
        int status = 0;
 
485
        fd_nj_plot = (FD_nj_plot *)calloc(1, sizeof(FD_nj_plot));
477
486
        fd_nj_plot->tree_name = fname;
478
487
        fd_nj_plot->show_bootstrap = boot_arg;
479
488
        fd_nj_plot->plot_br_l = plot_br_l;
1972
1981
, extract_filename(argv[0]) );
1973
1982
 
1974
1983
#ifdef MICRO
1975
 
                err_message(
 
1984
          err_message(message);
1976
1985
#else
1977
 
                fprintf(stderr,
 
1986
                fputs(message, stderr);
1978
1987
#endif
1979
 
                "%s", message);
1980
1988
                exit(0);
1981
1989
                }
1982
1990
        }