Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_main.cpp

    r26 r20  
    1818  if(argc>2){
    1919    cout << "error : argument must be a file name or nothing" << endl;
    20     cout << "usage : Viewer [file]" << endl;
    2120    return 0;
    2221  }
    2322
    2423  Parse *par = new Parse();
    25  
     24
    2625 
    2726   QApplication *a=new QApplication (argc,argv); 
    2827   
    29   if(argc == 2){
    30      if(par->open_file(argv[1],0)==-1){
     28   if(argc == 2){
     29     if(par->open_file(argv[1])==-1){
    3130        cout << "file doesn't exist or is not a valid format" << endl; 
    3231        exit(1);
Note: See TracChangeset for help on using the changeset viewer.