Changeset 76d0981d in mainline for uspace/app/tetris/scores.c


Ignore:
Timestamp:
2018-04-12T12:57:20Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3bacee1
Parents:
9c514be
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 18:18:43)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 12:57:20)
Message:

Use proper boolean constant in while loops.

File:
1 edited

Legend:

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

    r9c514be r76d0981d  
    5959
    6060#include <errno.h>
     61#include <stdbool.h>
    6162#include <stdio.h>
    6263#include <str.h>
     
    138139            "........................................");
    139140
    140         while (1) {
     141        while (true) {
    141142                console_flush(console);
    142143                if (!console_get_event(console, &ev))
Note: See TracChangeset for help on using the changeset viewer.