Changeset 7b5f4c9 in mainline


Ignore:
Timestamp:
2011-11-06T21:09:02Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45e7868, 5288463, 5664cf64, b0f00a9
Parents:
c6d9d49
git-author:
Maurizio Lombardi <m.lombardi85@…> (2011-11-06 21:09:02)
git-committer:
Jakub Jermar <jakub@…> (2011-11-06 21:09:02)
Message:

Fix a compile error when compiling the tetris demo with the
Portable C Compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/dist/src/c/demos/tetris/screen.c

    rc6d9d49 r7b5f4c9  
    9595{
    9696        console_flush(console);
    97         console_set_rgb_color(console, 0xffffff,
    98             use_color ? color : 0x000000);
     97        console_set_rgb_color(console, use_color ? color : 0x000000,
     98            0xffffff);
    9999}
    100100
     
    153153                return false;
    154154       
    155         return (ccap >= CONSOLE_CCAP_RGB);
     155        return ((ccap & CONSOLE_CAP_RGB) == CONSOLE_CAP_RGB);
    156156}
    157157
Note: See TracChangeset for help on using the changeset viewer.