fix segfault when geom x1
This commit is contained in:
		
							parent
							
								
									8f9866ced5
								
							
						
					
					
						commit
						f48522a322
					
				
							
								
								
									
										2
									
								
								dunst.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dunst.c
									
									
									
									
									
								
							| @ -620,7 +620,7 @@ void draw_win(void) | |||||||
|                 } else { |                 } else { | ||||||
|                         /* append "(x more)" message to notification text */ |                         /* append "(x more)" message to notification text */ | ||||||
|                         notification *n = |                         notification *n = | ||||||
|                             (notification *) displayed_notifications->head; |                             (notification *) displayed_notifications->head->data; | ||||||
|                         print_to = |                         print_to = | ||||||
|                             draw_txt_get_line(&n->draw_txt_buf, |                             draw_txt_get_line(&n->draw_txt_buf, | ||||||
|                                               n->draw_txt_buf.line_count); |                                               n->draw_txt_buf.line_count); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sascha Kruse
						Sascha Kruse