summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryorhel <yorhel@ce56bc8d-f834-0410-b703-f827bd498a76>2007-07-29 10:50:48 +0000
committeryorhel <yorhel@ce56bc8d-f834-0410-b703-f827bd498a76>2007-07-29 10:50:48 +0000
commit62f1293b89de53a26a46efc002fdc61d8eb873d1 (patch)
tree7790acac138e73e93ea9d5107e8f67b71d3f4255
parent614134b59b4c22e2665e3df4693aad0bc1eb2180 (diff)
Fixed a few compiler warnings and added a TODO list
git-svn-id: svn://blicky.net/ncdu/trunk@15 ce56bc8d-f834-0410-b703-f827bd498a76
-rw-r--r--TODO15
-rw-r--r--src/browser.c3
2 files changed, 17 insertions, 1 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..4d875fa
--- /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 f17dcb6..f77da29 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;
}