Subversion Repositories svn1-original

Rev

Rev 263 | Rev 363 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 263 Rev 334
Line 18... Line 18...
18
 *  00.0    27/01/95    DDP     Tidies up the program and formatted the file
18
 *  00.0    27/01/95    DDP     Tidies up the program and formatted the file
19
 *
19
 *
20
 **************************************************************************/
20
 **************************************************************************/
21
#include <QString>
21
#include <QString>
22
#include  <QDir>
22
#include  <QDir>
-
 
23
#include <QProcessEnvironment>
23
#include    <stdio.h>
24
#include    <stdio.h>
24
#include    <time.h>
25
#include    <time.h>
25
#include    <stdarg.h>
26
#include    <stdarg.h>
26
#include    "mainwindow.h"
27
#include    "mainwindow.h"
27
 
28
 
Line 591... Line 592...
591
        print( "%s", title );
592
        print( "%s", title );
592
 
593
 
593
    s = print_width - print_col - 24 - 4;
594
    s = print_width - print_col - 24 - 4;
594
    print( "%*s", s , "" );
595
    print( "%*s", s , "" );
595
 
596
 
-
 
597
    /*
-
 
598
     ** Debug support - dummy the print time
-
 
599
     */
-
 
600
    QString dbgDate = QProcessEnvironment::systemEnvironment().value("MARA_REPORT_DATE", "") ;
-
 
601
    if (dbgDate.length() > 1) {
-
 
602
         print( "%.24s", qPrintable(dbgDate) );
-
 
603
     } else {
596
    print( "%.24s", ctime( &pri_time ) );
604
        print( "%.24s", ctime( &pri_time ) );
-
 
605
    }
597
    print( "\n" );
606
    print( "\n" );
598
    print( "\n" );
607
    print( "\n" );
599
}
608
}
600
 
609
 
601
 
610