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

Changeset 552b69f in mainline for uspace/app/launcher/launcher.c


Ignore:
Timestamp:
2021-11-03T20:56:59Z (3 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
1aa8c86
Parents:
ec8a1bf
Message:

Dual-mode applications should automatically fall back to console

File:
1 edited

Legend:

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

    rec8a1bf r552b69f  
    5656#define NAME  "launcher"
    5757
    58 static char *display_spec = UI_DISPLAY_DEFAULT;
     58static const char *display_spec = UI_DISPLAY_DEFAULT;
    5959
    6060static void wnd_close(ui_window_t *, void *);
     
    137137        *argp++ = app;
    138138
    139         if (display_spec != UI_DISPLAY_DEFAULT) {
     139        if (str_cmp(display_spec, UI_DISPLAY_DEFAULT) != 0) {
    140140                *argp++ = "-d";
    141141                *argp++ = display_spec;
Note: See TracChangeset for help on using the changeset viewer.