Changes in uspace/app/tetris/screen.c [f538ef3:a53ed3a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/screen.c
rf538ef3 ra53ed3a 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.