Changeset 1488 for trunk/dll/cmdline.c


Ignore:
Timestamp:
Dec 22, 2009, 12:42:55 AM (16 years ago)
Author:
Gregg Young
Message:

Fixed commands so reordering them in commands.dat no longer changes their ID or hot key assignment; added 20 new hot keys; the environment information is now used when executing a command; some code clean up in command.c; added CheckExecutibleFlags to systemf.c the eliminate repetative code in assoc.c, command.c & cmdline.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/cmdline.c

    r1482 r1488  
    2626                aren't user settable; realappname should be used for setting applicable to
    2727                one or more miniapp but not to FM/2
     28  21 Dec 09 GKY Added CheckExecutibleFlags to streamline code in command.c assoc.c & cmdline.c
    2829
    2930***********************************************************************/
     
    718719      ex = INSTDATA(hwnd);
    719720      WinQueryDlgItemText(hwnd, EXEC_CL, 1000, ex->commandline);
    720       ex->flags = 0;
     721      ex->flags = CheckExecutibleFlags(hwnd, 2);
     722      /*ex->flags = 0;
    721723      if (WinQueryButtonCheckstate(hwnd, EXEC_MINIMIZED))
    722724        ex->flags |= MINIMIZED;
     
    732734        ex->flags |= SEPARATEKEEP;
    733735      else
    734         ex->flags |= SEPARATE;
     736        ex->flags |= SEPARATE;*/
    735737      strset(ex->environment, 0);
    736738      WinQueryDlgItemText(hwnd, EXEC_ENVIRON, 1000, ex->environment);
Note: See TracChangeset for help on using the changeset viewer.