char *cmd;
const char *fnquotes = (filename_need_quotes (filename) ? "\"" : "");
+ if (filename == NULL)
+ filename = "-";
/* Setup the default resource import path taken from input file. */
- if (strchr (filename, '/') != NULL || strchr (filename, '\\') != NULL)
+ else if (strchr (filename, '/') != NULL || strchr (filename, '\\') != NULL)
{
char *e, *c;
if (preprocargs == NULL)
preprocargs = "";
- if (filename == NULL)
- filename = "-";
if (preprocessor)
{