Changeset 34aad53d in mainline for uspace/lib/congfx/src/console.c


Ignore:
Timestamp:
2024-04-07T09:45:45Z (8 weeks ago)
Author:
Nataliia Korop <n.corop08@…>
Children:
c37c24c
Parents:
e4cc266 (diff), 522eecf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge master to topic/packet-capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/congfx/src/console.c

    re4cc266 r34aad53d  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    9191        uint8_t attr;
    9292
    93         if ((clr >> 24) == 0) {
     93        if ((clr >> 24) == 0xff) {
    9494                /* RGB (no text) */
    9595                ch->ch = 0;
    9696                ch->flags = CHAR_FLAG_DIRTY;
    9797                ch->attrs.type = CHAR_ATTR_RGB;
    98                 ch->attrs.val.rgb.fgcolor = clr ^ 0xffffff;
     98                ch->attrs.val.rgb.fgcolor = clr;
    9999                ch->attrs.val.rgb.bgcolor = clr;
    100100        } else {
Note: See TracChangeset for help on using the changeset viewer.