Fixup and remove unused defines.

This commit is contained in:
Michael Drake 2013-06-04 15:11:05 +01:00
parent 23a0520b40
commit 29185f75cf
1 changed files with 1 additions and 4 deletions

View File

@ -28,9 +28,6 @@
#include "render/font.h"
#include "utils/log.h"
#define FIELD_FOLDER 0
#define FIELD_FIRST_ENTRY 1
/* TODO: get rid of REDRAW_MAX -- need to be able to know window size */
#define REDRAW_MAX 8000
@ -1138,7 +1135,7 @@ static bool treeview_node_mouse_action_cb(struct treeview_node *node, void *ctx)
redraw |= treeview_clear_selection(ma->tree, &r);
/* Tell client an entry was launched */
tree->callbacks->entry(msg, n->client_data);
ma->tree->callbacks->entry(msg, node->client_data);
} else if (ma->mouse & BROWSER_MOUSE_PRESS_1 &&
!(node->flags & TREE_NODE_SELECTED) &&