refs #91: fix type of __stdiowin

extern char * __stdiowin;
This commit is contained in:
bebbo 2024-11-08 21:24:04 +01:00
parent fc075a2703
commit 0550bbcba3

View File

@ -38,7 +38,7 @@ extern char *__commandline;
extern unsigned long __commandlen;
extern struct WBStartup *_WBenchMsg;
extern char __stdiowin[];
extern char * __stdiowin;
static char *cline=NULL; /* Copy of commandline */
static BPTR cd=0l; /* Lock for Current Directory */
@ -54,7 +54,7 @@ void __nocommandline(void)
struct WBStartup *wbs=_WBenchMsg;
if(wbs!=NULL)
{ if(__stdiowin[0])
{ if(__stdiowin)
{ BPTR win;
if((window=win=Open(__stdiowin,MODE_OLDFILE))==0l)