Skip to content

Commit

Permalink
Fixed EP1 load.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkvt80 committed Dec 18, 2021
1 parent 930bf94 commit 64d8d8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ttxpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ bool TTXPage::m_LoadT42(std::string filename)
T42* t42;
char buf[500];
TTXPage* p=this;
bool ok = false;
bool ok{false};
std::ifstream filein(filename.c_str(), std::ios::binary | std::ios::in);

// todo Decode the packet to see what we do
Expand All @@ -115,6 +115,7 @@ bool TTXPage::m_LoadT42(std::string filename)
if (mag == 0xff || row == 0xff || filein.eof())
{
page_done = true;
ok = false;
}
else
{
Expand Down

0 comments on commit 64d8d8b

Please sign in to comment.