diff --git a/tools/wrc/parser.y b/tools/wrc/parser.y index 3a7c892d37d..f5d847d52e1 100644 --- a/tools/wrc/parser.y +++ b/tools/wrc/parser.y @@ -2694,11 +2694,6 @@ static string_t *make_filename(string_t *str) *cptr = '/'; } - /* Convert to lower case. Seems to be reasonable to do */ - for(cptr = str->str.cstr; !leave_case && *cptr; cptr++) - { - *cptr = tolower(*cptr); - } return str; } diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c index df14fe47827..96c653b69fa 100644 --- a/tools/wrc/wrc.c +++ b/tools/wrc/wrc.c @@ -104,7 +104,6 @@ static char usage[] = " -I path Set include search dir to path (multiple -I allowed)\n" " -J Do not search the standard include path\n" " -l lan Set default language to lan (default is neutral {0, 0})\n" - " -L Leave case of embedded filenames as is\n" " -m Do not remap numerical resource IDs\n" " -n Do not generate .s file\n" " -N Do not preprocess input\n" @@ -251,12 +250,6 @@ int pedantic = 0; */ int auto_register = 0; -/* - * Set when the case of embedded filenames should not be converted - * to lower case (-L option) - */ -int leave_case = 0; - /* * The output byte-order of resources (set with -B) */ @@ -434,9 +427,6 @@ int main(int argc,char *argv[]) currentlanguage = new_language(PRIMARYLANGID(lan), SUBLANGID(lan)); } break; - case 'L': - leave_case = 1; - break; case 'm': remap = 0; break; diff --git a/tools/wrc/wrc.h b/tools/wrc/wrc.h index de19d526385..09227de90b3 100644 --- a/tools/wrc/wrc.h +++ b/tools/wrc/wrc.h @@ -64,7 +64,6 @@ extern int create_s; extern DWORD codepage; extern int pedantic; extern int auto_register; -extern int leave_case; extern int byteorder; extern int preprocess_only; extern int no_preprocess;