Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorperepujal <perepujal>2010-02-02 21:02:44 (GMT)
committer perepujal <perepujal>2010-02-02 21:02:44 (GMT)
commit42aa71d5df669d9e3de27a8d0cb228f3628b63a2 (patch)
tree14acbabd083d102fc960455ab58ba9098b63419c /src
parentffb7014d866a6da82d99a763c485ca6e75d0b8e6 (diff)
This check is no more needed here.
Diffstat (limited to 'src')
-rw-r--r--src/tuxpaint.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
index 48aa5dc..6b74236 100644
--- a/src/tuxpaint.c
+++ b/src/tuxpaint.c
@@ -18299,7 +18299,6 @@ static void add_label_node(int w, int h, Uint16 x, Uint16 y, struct label_node**
if (label_node_to_edit)
{
new_node->disables = label_node_to_edit;
- //label_node_to_edit = NULL;
}
else
new_node->disables = NULL;
@@ -18359,13 +18358,10 @@ static struct label_node* search_label_list(struct label_node** ref_head, Uint16
{
if (current_node->is_enabled == TRUE)
{
- if (tmp_node == NULL) /* Selecting the top label at x,y position*/
- {
- if (hover == 1)
+ if (hover == 1)
return(current_node);
- tmp_node = current_node;
- done = TRUE;
- }
+ tmp_node = current_node;
+ done = TRUE;
}
}
}
@@ -18467,7 +18463,6 @@ static struct label_node* search_label_list(struct label_node** ref_head, Uint16
static void rec_undo_label(void)
{
- printf("rec\n");
if (first_label_node_in_redo_stack != NULL)
{
delete_label_list(&first_label_node_in_redo_stack);