fixed read beyond end of file error (curset.dat)
This commit is contained in:
1 parent
21a1510161
commit
f7c2a291d3
1 file changed
+1
-1
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user