From: Pasi Kallinen Date: Fri, 12 Aug 2011 18:06:34 +0000 (+0000) Subject: When using $INCLUDE() in a bannerfile, don't display the file being included. X-Git-Tag: v1.6.1-roc-dev~123 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=61e3e65647f224368e15a176a58fc1bb07b2ab2e;p=dgamelaunch When using $INCLUDE() in a bannerfile, don't display the file being included. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@587 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/TODO b/TODO index 9296132..3f48f08 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,8 @@ +-when no banner file given, try to make a banner automagically? + (needs some way to name the options given as keys... maybe another + format for the keys that includes a string to be used as the name) + -document the exit (error) codes. -cursor keys are not restored after watching a game of diff --git a/dgamelaunch.c b/dgamelaunch.c index d2ff8d0..d2c3858 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -455,7 +455,6 @@ loadbanner (char *fname, struct dg_banner *ban) if (fn_end) { *fn_end = '\0'; if (strcmp(fname, fn)) { - banner_addline(ban, fn); loadbanner(fn, ban); } }