Code cleanup 3 and update jexer-niki :
[fanfix.git] / src / be / nikiroo / fanfix / reader / TuiReaderStoryWindow.java
index 71b5b5e38374901a68a2aa768ae4a64743020e43..9bc18fe992c46a396ffb9debb076f7a581a32850 100644 (file)
@@ -23,15 +23,11 @@ class TuiReaderStoryWindow extends TWindow {
        private MetaData meta;
        private Story story;
        private TText textField;
-       private int chapter = -2;
+       private int chapter = -1;
        private List<TButton> navigationButtons;
        private TLabel chapterName;
 
-       public TuiReaderStoryWindow(TApplication app, BasicLibrary lib,
-                       MetaData meta) {
-               this(app, lib, meta, 0);
-       }
-
+       // chapter: -1 for "none" (0 is desc)
        public TuiReaderStoryWindow(TApplication app, BasicLibrary lib,
                        MetaData meta, int chapter) {
                super(app, desc(meta), 0, 0, 60, 18, CENTERED | RESIZABLE);