Rev 2 | Rev 7 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2 | Rev 6 | ||
|---|---|---|---|
| Line 143... | Line 143... | ||
| 143 | int i; |
143 | int i; |
| 144 | if('\r'==c) |
144 | if('\r'==c) |
| 145 | { |
145 | { |
| 146 | cursor_x = 0; |
146 | cursor_x = 0; |
| 147 | cursor_y++; |
147 | cursor_y++; |
| 148 | if(cursor_y == HEIGHT/8) |
148 | if(cursor_y >= HEIGHT/8) |
| 149 | { |
149 | { |
| 150 | cursor_y = 0; |
150 | cursor_y = 0; |
| 151 | } |
151 | } |
| 152 | return; |
152 | return; |
| 153 | } |
153 | } |