Subversion Repositories svn1

Rev

Rev 91 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 91 Rev 92
Line 49... Line 49...
49
#include    <wincon.h>
49
#include    <wincon.h>
50
 
50
 
51
#include    "consts.h"
51
#include    "consts.h"
52
#include    "structs.h"
52
#include    "structs.h"
53
#include    "proto.h"
53
#include    "proto.h"
54
#include "QApplication"
-
 
55
 
54
 
56
/* variables used by the routines */
55
/* variables used by the routines */
57
 
56
 
58
int         n_lines;                             /* Number of lines on the screen */
57
int         n_lines;                             /* Number of lines on the screen */
59
int         n_cols;
58
int         n_cols;
Line 901... Line 900...
901
 
900
 
902
 
901
 
903
    va_start( ap, format );
902
    va_start( ap, format );
904
    len = vsprintf( pp, format, ap );
903
    len = vsprintf( pp, format, ap );
905
    va_end( ap );
904
    va_end( ap );
906
qDebug("xx%s", pp);
-
 
907
    llen = len;
905
    llen = len;
908
    h_console = GetStdHandle(STD_OUTPUT_HANDLE);
906
    h_console = GetStdHandle(STD_OUTPUT_HANDLE);
909
    result = WriteConsole( h_console, pp, llen, &rlen, NULL );
907
    result = WriteConsole( h_console, pp, llen, &rlen, NULL );
910
    return ( len );
908
    return ( len );
911
}
909
}