Discard only generated background duplicates.
SVN revision: 37750
This commit is contained in:
parent
20e9396c05
commit
349a5a268c
|
@ -325,6 +325,9 @@ BackgroundCreate(const char *name, EColor * solid, const char *bgn, char tile,
|
|||
static int
|
||||
BackgroundCmp(Background * bg, Background * bgx)
|
||||
{
|
||||
if (*bgx->name != '.') /* Discard only generated backgrounds */
|
||||
return 1;
|
||||
|
||||
if (bg->bg.file && bgx->bg.file)
|
||||
{
|
||||
if ((strcmp(bg->bg.file, bgx->bg.file)) ||
|
||||
|
|
Loading…
Reference in New Issue