Navigation Menu

Skip to content

Commit

Permalink
Write startup message box text to log and not a real message box if not
Browse files Browse the repository at this point in the history
 applying patch.
  • Loading branch information
icculus committed Jun 17, 2005
1 parent 4f83c10 commit 24ca3fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mojopatch.c
Expand Up @@ -2234,7 +2234,12 @@ static int process_patch_header(SerialArchive *ar, PatchHeader *h)

/* show a message box before starting... */
if (*(h->startupmsg))
ui_msgbox(h->startupmsg);
{
if (!info_only())
ui_msgbox(h->startupmsg);
else
_log("startup message box:\n%s\n\n", h->startupmsg);
} /* if */

if (!info_only())
{
Expand Down

0 comments on commit 24ca3fb

Please sign in to comment.