Dirty hack to not show a warning for "ignored.key". Temporary until
the new resource system. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1199 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -303,7 +303,13 @@ load_package (INDEX_HEADERPTR ResHeaderPtr, RES_PACKAGE res_package)
|
|||||||
if (fp == NULL)
|
if (fp == NULL)
|
||||||
{
|
{
|
||||||
#if 1 // def DEBUG
|
#if 1 // def DEBUG
|
||||||
fprintf (stderr, "Can't open '%s'\n", file_buf);
|
// HACK: added the 'if' here as not to scare people
|
||||||
|
// with the warning for this workaround.
|
||||||
|
// It will go with the new resource system.
|
||||||
|
// (together with the rest of this file)
|
||||||
|
if (strcmp(file_buf, "ignored.key") != 0) {
|
||||||
|
fprintf (stderr, "Can't open '%s'\n", file_buf);
|
||||||
|
}
|
||||||
#endif /* DEBUG */
|
#endif /* DEBUG */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user