Changeset 84239b1 in mainline for uspace/app/tetris/tetris.c


Ignore:
Timestamp:
2018-03-11T19:39:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/tetris.c

    r850fd32 r84239b1  
    116116                base = i * B_COLS + 1;
    117117                p = &board[base];
    118                 for (j = B_COLS - 2; *p++ != 0;) {
     118                j = B_COLS - 2;
     119                while (*p++ != 0) {
    119120                        if (--j <= 0) {
    120121                                /* This row is to be elided */
Note: See TracChangeset for help on using the changeset viewer.