Increased bib buffer size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -528,10 +528,10 @@ void BibReadValue(istream& istr, char *buffer, bool ignoreBraces = TRUE,
|
|||||||
while (!istr.eof() && !stopping)
|
while (!istr.eof() && !stopping)
|
||||||
{
|
{
|
||||||
// i ++;
|
// i ++;
|
||||||
if (i >= 2000)
|
if (i >= 4000)
|
||||||
{
|
{
|
||||||
char buf[100];
|
char buf[100];
|
||||||
sprintf(buf, "Sorry, value > 2000 chars in bib file at line %ld, terminating.", BibLine);
|
sprintf(buf, "Sorry, value > 4000 chars in bib file at line %ld, terminating.", BibLine);
|
||||||
wxFatalError(buf, "Tex2RTF Fatal Error");
|
wxFatalError(buf, "Tex2RTF Fatal Error");
|
||||||
}
|
}
|
||||||
istr.get(ch);
|
istr.get(ch);
|
||||||
@@ -581,7 +581,7 @@ bool ReadBib(char *filename)
|
|||||||
OnInform("Reading .bib file...");
|
OnInform("Reading .bib file...");
|
||||||
|
|
||||||
char ch;
|
char ch;
|
||||||
char fieldValue[2000];
|
char fieldValue[4000];
|
||||||
char recordType[100];
|
char recordType[100];
|
||||||
char recordKey[100];
|
char recordKey[100];
|
||||||
char recordField[100];
|
char recordField[100];
|
||||||
|
Reference in New Issue
Block a user