Changeset 5a6cc679 in mainline for uspace/app/tetris/screen.c
- Timestamp:
- 2018-01-31T02:21:24Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
-
uspace/app/tetris/screen.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/screen.c
r132ab5d1 r5a6cc679 138 138 winsize_t winsize; 139 139 140 static int get_display_size(winsize_t *ws)140 static errno_t get_display_size(winsize_t *ws) 141 141 { 142 142 return console_get_size(console, &ws->ws_col, &ws->ws_row); … … 146 146 { 147 147 sysarg_t ccap; 148 int rc = console_get_color_cap(console, &ccap);149 150 if (rc != 0)148 errno_t rc = console_get_color_cap(console, &ccap); 149 150 if (rc != EOK) 151 151 return false; 152 152
Note:
See TracChangeset
for help on using the changeset viewer.
