Changeset f5191b4 in mainline for uspace/srv/hid/display/window.c
- Timestamp:
- 2020-01-28T09:17:35Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4645b2c
- Parents:
- cc90846
- git-author:
- Jiri Svoboda <jiri@…> (2020-01-27 19:17:32)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-01-28 09:17:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/window.c
rcc90846 rf5191b4 301 301 wnd->pixelmap.height = dims.y; 302 302 wnd->pixelmap.data = alloc.pixels; 303 } 304 305 if (wnd->pixelmap.data == NULL) {306 rc = ENOMEM;307 goto error;303 304 if (wnd->pixelmap.data == NULL) { 305 rc = ENOMEM; 306 goto error; 307 } 308 308 } 309 309 … … 382 382 } 383 383 384 /* This can happen in unit tests */ 385 if (wnd->bitmap == NULL) 386 return EOK; 387 384 388 return gfx_bitmap_render(wnd->bitmap, brect, &wnd->dpos); 385 389 }
Note:
See TracChangeset
for help on using the changeset viewer.