Skip to content

Commit

Permalink
refs #84: ->sm_ArgList->wa_Lock may be null
Browse files Browse the repository at this point in the history
  • Loading branch information
bebbo committed Jun 28, 2024
1 parent c2cd8a7 commit f61af61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/nix20/misc/__nocommandline.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void __nocommandline(void)
SelectInput(win);
SelectOutput(win);
}
if(wbs->sm_ArgList!=NULL) /* cd to icon */
if(wbs->sm_ArgList!=NULL && wbs->sm_ArgList->wa_Lock) /* cd to icon */
cd=CurrentDir(DupLock(wbs->sm_ArgList->wa_Lock));

__argc=0;
Expand Down

0 comments on commit f61af61

Please sign in to comment.