~ubuntu-branches/ubuntu/karmic/grace/karmic

« back to all changes in this revision

Viewing changes to src/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Ionut Georgescu
  • Date: 2006-11-12 17:58:47 UTC
  • mfrom: (2.1.6 feisty)
  • Revision ID: james.westby@ubuntu.com-20061112175847-pwerjj6k1smuwp6f
Tags: 1:5.1.20-5
Fix a bug in grace-thumbnailer which makes it write the thumbnail to
stdout instead of the destination supplied by nautilus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
529
529
                            set_graph_type(cur_graph, GRAPH_SMITH);
530
530
                        } else if (!strcmp("fixed", argv[i])) {
531
531
                            set_graph_type(cur_graph, GRAPH_FIXED);
 
532
                        } else if (!strcmp("pie", argv[i])) {
 
533
                            set_graph_type(cur_graph, GRAPH_PIE);
532
534
                        } else {
533
535
                            fprintf(stderr, "%s: Improper argument for -graphtype\n", argv[0]);
534
536
                            usage(stderr, argv[0]);
901
903
    fprintf(stdout, "\n\n");
902
904
    
903
905
    fprintf(stdout, "(C) Copyright 1991-1995 Paul J Turner\n");
904
 
    fprintf(stdout, "(C) Copyright 1996-2004 Grace Development Team\n");
 
906
    fprintf(stdout, "(C) Copyright 1996-2006 Grace Development Team\n");
905
907
    fprintf(stdout, "All Rights Reserved\n");
906
908
 
907
909
    return;