don't ignore the word_wrap option
This commit is contained in:
		
							parent
							
								
									79dff42fe1
								
							
						
					
					
						commit
						8c0b27f323
					
				
							
								
								
									
										3
									
								
								dunst.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								dunst.c
									
									
									
									
									
								
							| @ -365,6 +365,9 @@ void update_lists() | |||||||
| /* TODO get draw_txt_buf as argument */ | /* TODO get draw_txt_buf as argument */ | ||||||
| int do_word_wrap(char *source, int max_width) | int do_word_wrap(char *source, int max_width) | ||||||
| { | { | ||||||
|  |         if (!word_wrap) | ||||||
|  |                 return 1; | ||||||
|  | 
 | ||||||
|         strtrim_end(source); |         strtrim_end(source); | ||||||
|         if (!source || source == '\0' || strcmp(source, "") == 0) |         if (!source || source == '\0' || strcmp(source, "") == 0) | ||||||
|                 return 0; |                 return 0; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sascha Kruse
						Sascha Kruse