+ fixes in ortho view (j-dowsett)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5313 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
parent
498b2163e2
commit
74cad3c134
|
@ -420,7 +420,7 @@ void TaskOrthoViews::pagesize(std::string& page_template)
|
|||
found = line.find("width=");
|
||||
if (found != string::npos)
|
||||
{
|
||||
temp_line = line.substr(10);
|
||||
temp_line = line.substr(7+found);
|
||||
found = temp_line.find("\"");
|
||||
temp_line = temp_line.substr(0,found);
|
||||
stringstream num_str(temp_line);
|
||||
|
@ -438,7 +438,7 @@ void TaskOrthoViews::pagesize(std::string& page_template)
|
|||
found = line.find("height=");
|
||||
if (found != string::npos)
|
||||
{
|
||||
temp_line = line.substr(11);
|
||||
temp_line = line.substr(8+found);
|
||||
found = temp_line.find("\"");
|
||||
temp_line = temp_line.substr(0,found);
|
||||
stringstream num_str_2(temp_line);
|
||||
|
|
Loading…
Reference in New Issue
Block a user