buf[i] = 0;
else
{
- buf[i] = ch;
+ buf[i] = (wxChar)ch;
i ++;
}
}
if (ostr.bad()) return;
TexReferences.BeginFind();
- wxNode *node = TexReferences.Next();
+ wxHashTable::Node *node = TexReferences.Next();
while (node)
{
Tex2RTFYield();
if (!istr.eof())
{
istr >> file;
- istr >> sectionName;
+ istr >> sectionName;
char ch;
istr.get(ch); // Read past space
istr.get(ch);
void BibEatWhiteSpace(wxSTD istream& str)
{
- char ch = str.peek();
+ char ch = (char)str.peek();
while (!str.eof() && (ch == ' ' || ch == '\t' || ch == 13 || ch == 10 || ch == EOF))
{
BibLine ++;
str.get(ch);
if ((ch == EOF) || str.eof()) return;
- ch = str.peek();
+ ch = (char)str.peek();
}
// Ignore end-of-line comments
if (ch == '%' || ch == ';' || ch == '#')
{
str.get(ch);
- ch = str.peek();
+ ch = (char)str.peek();
while (ch != 10 && ch != 13 && !str.eof())
{
str.get(ch);
- ch = str.peek();
+ ch = (char)str.peek();
}
BibEatWhiteSpace(str);
}
{
int i = 0;
buffer[i] = 0;
- char ch = istr.peek();
+ char ch = (char)istr.peek();
while (!istr.eof() && ch != ' ' && ch != '{' && ch != '(' && ch != 13 && ch != 10 && ch != '\t' &&
ch != ',' && ch != '=')
{
istr.get(ch);
buffer[i] = ch;
i ++;
- ch = istr.peek();
+ ch = (char)istr.peek();
}
buffer[i] = 0;
}
{
int i = 0;
buffer[i] = 0;
- char ch = istr.peek();
+ char ch = (char)istr.peek();
bool inQuotes = false;
if (ch == '"')
{
istr.get(ch);
- ch = istr.peek();
+ ch = (char)istr.peek();
inQuotes = true;
}
// If in quotes, read white space too. If not,
istr.get(ch);
buffer[i] = ch;
i ++;
- ch = istr.peek();
+ ch = (char)istr.peek();
}
if (ch == '"')
istr.get(ch);
int braceCount = 1;
int i = 0;
buffer[i] = 0;
- char ch = istr.peek();
+ char ch = (char)istr.peek();
bool stopping = false;
while (!istr.eof() && !stopping)
{
static int yieldCount = 0;
if (isSync)
- return;
+ return;
if (force)
- yieldCount = 0;
+ yieldCount = 0;
if (yieldCount == 0)
{
- if (wxTheApp)
- wxYield();
- yieldCount = 10;
+ if (wxTheApp)
+ wxYield();
+ yieldCount = 10;
}
yieldCount --;
#endif
void ClearKeyWordTable(void)
{
TopicTable.BeginFind();
- wxNode *node = TopicTable.Next();
+ wxHashTable::Node *node = TopicTable.Next();
while (node)
{
TexTopic *texTopic = (TexTopic *)node->GetData();
}
#if !WXWIN_COMPATIBILITY_2
-// if substring is TRUE, search for str1 in str2
+// if substring is true, search for str1 in str2
bool StringMatch(const wxChar *str1, const wxChar *str2, bool subString,
bool exact)
{