Changeset f7c12b3 in mainline
- Timestamp:
- 2021-09-03T09:13:46Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 400a16d
- Parents:
- 1ebcb791
- git-author:
- Jiri Svoboda <jiri@…> (2021-09-02 17:13:31)
- git-committer:
- Jiri Svoboda <jiri@…> (2021-09-03 09:13:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/gfxdemo/gfxdemo.c
r1ebcb791 rf7c12b3 678 678 gfx_color_delete(color); 679 679 680 rc = gfx_color_new_rgb_i16(0xffff, 0xffff, 0xffff, &color); 681 if (rc != EOK) 682 goto error; 680 if (demo_is_text(w, h)) { 681 rc = gfx_color_new_ega(0x1f, &color); 682 if (rc != EOK) 683 goto error; 684 } else { 685 rc = gfx_color_new_rgb_i16(0xffff, 0xffff, 0xffff, &color); 686 if (rc != EOK) 687 goto error; 688 } 683 689 684 690 gfx_text_fmt_init(&fmt); … … 759 765 for (i = 0; i < 8; i++) { 760 766 if (demo_is_text(w, h)) { 761 rc = gfx_color_new_ega(i , &color);767 rc = gfx_color_new_ega(i != 0 ? i : 0x10, &color); 762 768 if (rc != EOK) 763 769 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.