Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 0e125698 in mainline for uspace/app/nav/nav.c


Ignore:
Timestamp:
2021-10-16T20:41:33Z (16 months ago)
Author:
Jiri Svoboda <jiri@…>
Children:
fd6dc08
Parents:
9bed565
Message:

Opening directories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/nav/nav.c

    r9bed565 r0e125698  
    263263void navigator_switch_panel(navigator_t *navigator)
    264264{
     265        errno_t rc;
     266
    265267        if (panel_is_active(navigator->panel[0])) {
     268                rc = panel_activate(navigator->panel[1]);
     269                if (rc != EOK)
     270                        return;
    266271                panel_deactivate(navigator->panel[0]);
    267                 panel_activate(navigator->panel[1]);
    268272        } else {
     273                rc = panel_activate(navigator->panel[0]);
     274                if (rc != EOK)
     275                        return;
    269276                panel_deactivate(navigator->panel[1]);
    270                 panel_activate(navigator->panel[0]);
    271277        }
    272278}
Note: See TracChangeset for help on using the changeset viewer.