Skip to content

Commit

Permalink
Changed some ui_fatal() calls to call it indirectly through _fatal(),…
Browse files Browse the repository at this point in the history
… instead.
  • Loading branch information
icculus committed May 27, 2004
1 parent cacabc0 commit a7f3406
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mojopatch.c
Expand Up @@ -1609,21 +1609,21 @@ static int create_patchfile(void)

if (strcmp(header.identifier, "") == 0) /* specified on the commandline. */
{
ui_fatal("Can't create a patchfile without an identifier.");
_fatal("Can't create a patchfile without an identifier.");
return(PATCHERROR);
} /* if */

// !!! FIXME: platform should determine this by examining compared dirs.
if (strcmp(header.version, "") == 0) /* specified on the commandline. */
{
ui_fatal("Can't create a patchfile without --version.");
_fatal("Can't create a patchfile without --version.");
return(PATCHERROR);
} /* if */

// !!! FIXME: platform should determine this by examining compared dirs.
if (strcmp(header.newversion, "") == 0) /* specified on the commandline. */
{
ui_fatal("Can't create a patchfile without --newversion.");
_fatal("Can't create a patchfile without --newversion.");
return(PATCHERROR);
} /* if */

Expand Down

0 comments on commit a7f3406

Please sign in to comment.