summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-08-02 00:07:03 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-08-02 18:00:07 +0200
commit326235584f9dc17c0adf4c02180f45d4c3dc1e64 (patch)
treed10b6fc3f92d19931c8ba4ace3fbdc1388e85273 /scp2
parent8ba8aca1ac4744a23eefb7bb5892e2a697d9d987 (diff)
scp2: SHORT_RESFILE_ALL_LANG seems to be unused
Change-Id: I62b313fc8d8c6dfc821012783365307c8280a96c
Diffstat (limited to 'scp2')
-rwxr-xr-xscp2/inc/macros.inc1
-rw-r--r--scp2/macros/macro.pl11
2 files changed, 0 insertions, 12 deletions
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc
index 59826686e362..afd65e2e75f0 100755
--- a/scp2/inc/macros.inc
+++ b/scp2/inc/macros.inc
@@ -58,7 +58,6 @@
#endif
#define RESFILENAME(name,lang) STRING(CONCAT3(name,lang,.res))
-#define SHORTRESFILENAME(name,lang) STRING(CONCAT3(name,lang,.res))
#define READMETXTFILENAME(name,lang,ext) STRING(CONCAT4(name,lang,.,ext))
#define READMEFILENAME(name,lang) STRING(CONCAT2(name,lang))
#define EXTRAFILENAME(name,lang) STRING(CONCAT3(name,lang,.zip))
diff --git a/scp2/macros/macro.pl b/scp2/macros/macro.pl
index ef492b086e2f..9ea949cccf74 100644
--- a/scp2/macros/macro.pl
+++ b/scp2/macros/macro.pl
@@ -67,7 +67,6 @@ write_EXTRA_ALL_LANG_BUT_EN_US();
write_EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG();
write_EXTRA_IDENT_ALL_LANG();
write_RESFILE_ALL_LANG();
-write_SHORT_RESFILE_ALL_LANG();
write_README_ALL_LANG();
write_README_TXT_ALL_LANG();
write_VALUE_ALL_LANG_LETTER_DIR();
@@ -195,16 +194,6 @@ sub write_RESFILE_ALL_LANG
print OUTFILE "\n\n";
}
-sub write_SHORT_RESFILE_ALL_LANG
-{
- print OUTFILE "#define SHORT_RESFILE_ALL_LANG(name) ";
- foreach $lang (@completelangiso) {
- print OUTFILE "\\\n\tName ($lang) = SHORTRESFILENAME(name,$lang)";
- print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
- }
- print OUTFILE "\n\n";
-}
-
sub write_README_ALL_LANG
{
print OUTFILE "#define README_ALL_LANG(key, name) ";