remove duplicate test
This commit is contained in:
		
							
								
								
									
										2
									
								
								bar.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								bar.c
									
									
									
									
									
								
							| @@ -1204,7 +1204,7 @@ main (int argc, char **argv) | |||||||
|                             { |                             { | ||||||
|                                 area_t *area = area_get(press_ev->event, press_ev->detail, press_ev->event_x); |                                 area_t *area = area_get(press_ev->event, press_ev->detail, press_ev->event_x); | ||||||
|                                 // Respond to the click |                                 // Respond to the click | ||||||
|                                 if (area && area->button == press_ev->detail) { |                                 if (area) { | ||||||
|                                     write(STDOUT_FILENO, area->cmd, strlen(area->cmd)); |                                     write(STDOUT_FILENO, area->cmd, strlen(area->cmd)); | ||||||
|                                     write(STDOUT_FILENO, "\n", 1); |                                     write(STDOUT_FILENO, "\n", 1); | ||||||
|                                 } |                                 } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user