diff --git a/TODO b/TODO new file mode 100644 index 0000000000000000000000000000000000000000..4d875fa49901c76f3d6c620bc73ef17ef3d95d21 --- /dev/null +++ b/TODO @@ -0,0 +1,15 @@ +Small list of planned features/changes, suggestions are always welcome. + + +- Improve configuration interface (settings.c) + * All command line options should be accessible in the GUI + * Tabs? + * Still use the ncurses forms library, or implement our own? (hopefully less + buggy and more control) - shouldn't be too hard to do. + +- Add export/import feature for filelists + * Also comparing two filelists + +- Improve browser interface + * Mutt-like status bar? + * Browser always on background, even on startup diff --git a/src/browser.c b/src/browser.c index f17dcb6cbc4d5411a62731c08c75deab8c3ce48b..f77da29b787ff800851ba74813eed145adce96b4 100644 --- a/src/browser.c +++ b/src/browser.c @@ -122,7 +122,7 @@ void drawBrowser(int change) { struct dir *n; char tmp[PATH_MAX], ct, dt; int selected, i, o; - off_t max; + off_t max = 1; erase(); @@ -270,6 +270,7 @@ struct dir * selected(void) { if(n->flags & FF_BSEL) return n; } while((n = n->next) != NULL); + return NULL; }