Update Perl error message according to recent changes

This commit is contained in:
Berke Viktor 2012-11-12 02:24:19 +01:00
parent c0dca425a5
commit 40d4c592b3
1 changed files with 10 additions and 11 deletions

View File

@ -1420,20 +1420,19 @@ perl_load_file (char *filename)
if (lib) { if (lib) {
FreeLibrary (lib); FreeLibrary (lib);
lib = NULL; lib = NULL;
thread_mbox ("Cannot open " PERL_DLL "\n\n" thread_mbox ("Cannot open " PERL_DLL "!\n\n"
"You must have either ActivePerl or Straberry Perl" "You must have a Visual C++ build of Perl "
PERL_REQUIRED_VERSION PERL_REQUIRED_VERSION " installed in order to\n"
" installed in order to\n" "run Perl scripts.\n\n"
"run perl scripts.\n\n" "https://github.com/hexchat/hexchat/downloads\n\n"
"I have found Perl 5.6, but that is too old."); "I have found Perl 5.6, but that is too old.");
} else { } else {
thread_mbox ("Cannot open " PERL_DLL "\n\n" thread_mbox ("Cannot open " PERL_DLL "!\n\n"
"You must have either ActivePerl or Strawberry Perl " "You must have a Visual C++ build of Perl "
PERL_REQUIRED_VERSION " installed in order to\n" PERL_REQUIRED_VERSION " installed in order to\n"
"run perl scripts.\n\n" "run Perl scripts.\n\n"
"http://www.activestate.com/ActivePerl/\n" "https://github.com/hexchat/hexchat/downloads\n\n"
"http://strawberryperl.com/\n" "Make sure Perl's bin directory is in your PATH.");
"Make sure perl's bin directory is in your PATH.");
} }
} }
/* failure */ /* failure */