1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-26 03:32:23 +00:00

Improved slightly

This commit is contained in:
jespergravgaard 2017-12-05 01:15:17 +01:00
parent 5b070b5a27
commit ad9873d201
2 changed files with 2 additions and 4 deletions

View File

@ -72,8 +72,7 @@ void progress_init(byte* line) {
void progress_inc() {
// Progress characters
const byte[] progress_chars = { $20, $65, $74, $75, $61, $f6, $e7, $ea, $e0};
progress_idx++;
if(progress_idx==8) {
if(++progress_idx==8) {
*progress_cursor = progress_chars[8];
progress_cursor++;
progress_idx = 0;

View File

@ -72,8 +72,7 @@ void progress_init(byte* line) {
void progress_inc() {
// Progress characters
const byte[] progress_chars = { $20, $65, $74, $75, $61, $f6, $e7, $ea, $e0};
progress_idx++;
if(progress_idx==8) {
if(++progress_idx==8) {
*progress_cursor = progress_chars[8];
progress_cursor++;
progress_idx = 0;