summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2008-06-20 12:21:57 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2008-06-20 12:21:57 +0000
commitbe68e7f272459ae218fa4c0082ed41fea192b54a (patch)
tree3129a6c22b067bd41525eded731461598a490609
parentb0f71f0415b7753f857455fb7f358420100cb2ff (diff)
downloadtigervnc-be68e7f272459ae218fa4c0082ed41fea192b54a.tar.gz
tigervnc-be68e7f272459ae218fa4c0082ed41fea192b54a.zip
[Bugfix] Saving actual numbers of records read from the .fbi file.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2605 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--java/src/com/tightvnc/rfbplayer/FbsConnection.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/tightvnc/rfbplayer/FbsConnection.java b/java/src/com/tightvnc/rfbplayer/FbsConnection.java
index 66d9e54b..3dc2cf59 100644
--- a/java/src/com/tightvnc/rfbplayer/FbsConnection.java
+++ b/java/src/com/tightvnc/rfbplayer/FbsConnection.java
@@ -35,6 +35,7 @@ public class FbsConnection {
/** Index data loaded from the .fbi file. */
FbsEntryPoint[] idx;
+ int numIndexRecords;
FbsConnection(String fbsLocation, String indexLocationPrefix, Applet applet)
throws MalformedURLException {
@@ -57,6 +58,7 @@ public class FbsConnection {
// Try to load the .fbi index file.
idx = null;
+ numIndexRecords = 0;
loadIndex();
}
@@ -134,6 +136,7 @@ public class FbsConnection {
return;
}
idx = newIndex;
+ numIndexRecords = numRecordsRead;
System.err.println("Loaded index data, " + numRecordsRead + " records");
}
}