mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@827 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
34d0f3aa85
commit
753bed8fcd
13 changed files with 492 additions and 41 deletions
|
@ -25,7 +25,7 @@ import java.util.ArrayList;
|
|||
|
||||
public class PdbHeader {
|
||||
static public String DocName;
|
||||
static public short Flags;
|
||||
static public int Flags;
|
||||
static public String Id;
|
||||
static public int[] Offsets;
|
||||
|
||||
|
@ -35,7 +35,7 @@ public class PdbHeader {
|
|||
return false;
|
||||
}
|
||||
DocName = new String(buffer);
|
||||
Flags = PdbUtil.readShort(stream);
|
||||
Flags = PdbUtil.readUnsignedShort(stream);
|
||||
|
||||
stream.skip(26);
|
||||
|
||||
|
@ -46,7 +46,7 @@ public class PdbHeader {
|
|||
|
||||
stream.skip(8);
|
||||
|
||||
short numRecords = PdbUtil.readShort(stream);
|
||||
int numRecords = PdbUtil.readUnsignedShort(stream);
|
||||
if (numRecords <= 0) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue