fixed read beyond end of file error (curset.dat)
This commit is contained in:
parent
21a1510161
commit
f7c2a291d3
@ -97,7 +97,7 @@ namespace Utils
|
|||||||
cfg.Print_UserCBMess2 = ReadTheString(br, 10);
|
cfg.Print_UserCBMess2 = ReadTheString(br, 10);
|
||||||
tmpsbyte = br.ReadSByte(); // DontPrintStatusTree not used
|
tmpsbyte = br.ReadSByte(); // DontPrintStatusTree not used
|
||||||
cfg.Print_UserFormat = ReadTheString(br, 10);
|
cfg.Print_UserFormat = ReadTheString(br, 10);
|
||||||
tmpsbyte = br.ReadSByte();
|
//tmpsbyte = br.ReadSByte();
|
||||||
//cfg.Print_Duplex = tmpsbyte == 0 ? true : false;
|
//cfg.Print_Duplex = tmpsbyte == 0 ? true : false;
|
||||||
br.Close();
|
br.Close();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user