5 Aug
2013
5 Aug
'13
8:33 p.m.
Hi all, For those who know about dom/cssreader.cpp, is this code correct? In CssReader::getPage(int p0):
int p = p0; ..... XMLCh ch = get(p); if (p != '{') { error("@page requires '{' before declarations"); }
Shouldn't that be if (ch != '{') ?
It happens a number of times in that function and looks like a bug to me. If it is indeed correct the way it is now, please add comments to those locations, because it is quite confusing.
Thanks, Johan