fixed spelling of -checkcurleybraces (patch #1054304)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -240,6 +240,7 @@ void WriteWinHelpContentsFileLine(wxChar *topicName, wxChar *xitle, int level)
|
||||
wxChar title[255];
|
||||
int s=0;
|
||||
int d=0;
|
||||
// assuming iso-8859-1 here even in Unicode build (FIXME?)
|
||||
while ( (xitle[s]!=0)&&(d<255) )
|
||||
{
|
||||
wxChar ch=wxChar(xitle[s]&0xff);
|
||||
@@ -248,12 +249,12 @@ void WriteWinHelpContentsFileLine(wxChar *topicName, wxChar *xitle, int level)
|
||||
wxChar ch2=wxChar(xitle[s+2]&0xff);
|
||||
wxChar ch3=wxChar(xitle[s+3]&0xff);
|
||||
s+=4; // next character
|
||||
if ((ch1==0x27)&&(ch2==0x66)&&(ch3==0x36)) { title[d++]=_T('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x65)&&(ch3==0x34)) { title[d++]=_T('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x66)&&(ch3==0x63)) { title[d++]=_T('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x64)&&(ch3==0x36)) { title[d++]=_T('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x63)&&(ch3==0x34)) { title[d++]=_T('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x64)&&(ch3==0x63)) { title[d++]=_T('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x66)&&(ch3==0x36)) { title[d++]=wxChar('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x65)&&(ch3==0x34)) { title[d++]=wxChar('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x66)&&(ch3==0x63)) { title[d++]=wxChar('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x64)&&(ch3==0x36)) { title[d++]=wxChar('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x63)&&(ch3==0x34)) { title[d++]=wxChar('<EFBFBD>'); }
|
||||
if ((ch1==0x27)&&(ch2==0x64)&&(ch3==0x63)) { title[d++]=wxChar('<EFBFBD>'); }
|
||||
} else {
|
||||
title[d++]=ch;
|
||||
s++;
|
||||
@@ -670,7 +671,7 @@ void ProcessText2RTF(TexChunk *chunk)
|
||||
i += 1;
|
||||
changed = true;
|
||||
}
|
||||
else if (inVerbatim && (ch == '{' || ch == '}')) // Escape the curley bracket
|
||||
else if (inVerbatim && (ch == '{' || ch == '}')) // Escape the curly bracket
|
||||
{
|
||||
BigBuffer[ptr] = '\\'; ptr ++;
|
||||
BigBuffer[ptr] = ch; ptr ++;
|
||||
|
Reference in New Issue
Block a user