1 --- ucblogo-6.0/wxTerminal.cpp.orig 2013-05-19 09:50:57.119887675 +0200
2 +++ ucblogo-6.0/wxTerminal.cpp 2013-05-19 10:04:05.197846901 +0200
5 wxterm_charpos pos_1 = line_of(lpos);
7 - fprintf(stderr, "WXTERMINAL STATS: \n width: %d, height: %d, \n cw: %d, ch: %d \n x_max: %d, y_max: %d \n cursor_x: %d, cursor_y: %d \n last_logo_x : %d, last_logo_y: %d \ncurr_charpos buf %d offset %d \ncurr_line buf %d offset %d\n", m_width, m_height, m_charWidth, m_charHeight, x_max, y_max,cursor_x, cursor_y, last_logo_x, last_logo_y,(int)curr_char_pos.buf, curr_char_pos.offset, (int)curr_line_pos.buf, curr_line_pos.offset);
8 + fprintf(stderr, "WXTERMINAL STATS: \n width: %d, height: %d, \n cw: %d, ch: %d \n x_max: %d, y_max: %d \n cursor_x: %d, cursor_y: %d \n last_logo_x : %d, last_logo_y: %d \ncurr_charpos buf %ld offset %d \ncurr_line buf %ld offset %d\n", m_width, m_height, m_charWidth, m_charHeight, x_max, y_max,cursor_x, cursor_y, last_logo_x, last_logo_y,(long)curr_char_pos.buf, curr_char_pos.offset, (long)curr_line_pos.buf, curr_line_pos.offset);
9 fprintf(stderr, "WXTERMINAL CHARACTER BUFFER\n###############\n");
10 while(char_of(pos_1) != '\0') {
11 if(char_of(pos_1) == '\n') {
13 fprintf(stderr, "\n#############\n");
14 fprintf(stderr, "WXTERMINAL LINE BUFFER\n##############\n");
15 for(int i = 0; i <= y_max; i++) {
16 - fprintf(stderr, "LINE %d: buf: %d, offset: %d, len: %d\n", i,(int)line_of(lpos).buf, line_of(lpos).offset, line_of(lpos).line_length);
17 + fprintf(stderr, "LINE %d: buf: %ld, offset: %d, len: %d\n", i,(long)line_of(lpos).buf, line_of(lpos).offset, line_of(lpos).line_length);
20 fprintf(stderr, "\n#############\n\n");