mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 02:09:35 +02:00
fixed floating point series index
This commit is contained in:
parent
fd46365466
commit
05020b0ca3
2 changed files with 2 additions and 1 deletions
|
@ -472,7 +472,7 @@ public final class SQLiteBooksDatabase extends BooksDatabase {
|
|||
final Cursor cursor = myDatabase.rawQuery("SELECT Series.name,BookSeries.book_index FROM BookSeries INNER JOIN Series ON Series.series_id = BookSeries.series_id WHERE BookSeries.book_id = ?", new String[] { "" + bookId });
|
||||
SeriesInfo info = null;
|
||||
if (cursor.moveToNext()) {
|
||||
info = new SeriesInfo(cursor.getString(0), cursor.getLong(1));
|
||||
info = new SeriesInfo(cursor.getString(0), cursor.getFloat(1));
|
||||
}
|
||||
cursor.close();
|
||||
return info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue