copy more of the Mason prefs icons
[AROS.git] / compiler / autoinit / _programname.c
blobb187b0a613805ac071c1721de5b58088e08ebdd8
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/symbolsets.h>
7 #include <aros/startup.h>
8 #include <proto/dos.h>
10 #include "autoinit_intern.h"
12 char *_ProgramName = NULL;
14 void __initprogramname(struct ExecBase *SysBase)
16 char *cmd = __get_command_name();
18 _ProgramName = FilePart(cmd);
20 __startup_entries_next();
22 return;
25 ADD2SET(__initprogramname, PROGRAM_ENTRIES, -20);