Changeset f538ef3 in mainline for uspace/app/tetris/tetris.c
- Timestamp:
- 2017-09-23T11:41:08Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 75c3830
- Parents:
- bd1745f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/tetris.c
rbd1745f rf538ef3 56 56 57 57 #include <sys/time.h> 58 #include <err.h>59 58 #include <errno.h> 60 59 #include <stdio.h> … … 289 288 for (i = 0; i <= 5; i++) { 290 289 for (j = i + 1; j <= 5; j++) { 291 if (keys[i] == keys[j]) 292 errx(1, "%s", "duplicate command keys specified."); 290 if (keys[i] == keys[j]) { 291 fprintf(stderr, "duplicate command keys specified."); 292 abort(); 293 } 293 294 } 294 295
Note:
See TracChangeset
for help on using the changeset viewer.