Changeset 552b69f in mainline for uspace/app


Ignore:
Timestamp:
2021-11-03T20:56:59Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1aa8c86
Parents:
ec8a1bf
Message:

Dual-mode applications should automatically fall back to console

Location:
uspace/app
Files:
4 edited

Legend:

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

    rec8a1bf r552b69f  
    787787int main(int argc, char *argv[])
    788788{
    789         const char *display_spec = UI_DISPLAY_DEFAULT;
     789        const char *display_spec = UI_ANY_DEFAULT;
    790790        ui_t *ui;
    791791        ui_resource_t *ui_res;
  • uspace/app/hello/hello.c

    rec8a1bf r552b69f  
    152152int main(int argc, char *argv[])
    153153{
    154         const char *display_spec = UI_DISPLAY_DEFAULT;
     154        const char *display_spec = UI_ANY_DEFAULT;
    155155        errno_t rc;
    156156        int i;
  • 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;
  • uspace/app/uidemo/uidemo.c

    rec8a1bf r552b69f  
    10191019int main(int argc, char *argv[])
    10201020{
    1021         const char *display_spec = UI_DISPLAY_DEFAULT;
     1021        const char *display_spec = UI_ANY_DEFAULT;
    10221022        errno_t rc;
    10231023        int i;
Note: See TracChangeset for help on using the changeset viewer.