Expand "\\n" to "\n" in the format string only; not message text.
This is consistent with other implementations; neither notification-daemon or xfce4-notifyd expand "\n" in message text.
This commit is contained in:
		
							parent
							
								
									4df1a4b731
								
							
						
					
					
						commit
						e37bbad2d7
					
				| @ -267,7 +267,6 @@ char *notification_replace_format(const char *needle, const char *replacement, | |||||||
| 
 | 
 | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         tmp = string_replace_all("\\n", "\n", tmp); |  | ||||||
|         if (settings.ignore_newline) { |         if (settings.ignore_newline) { | ||||||
|                 tmp = string_replace_all("\n", " ", tmp); |                 tmp = string_replace_all("\n", " ", tmp); | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Luke Shumaker
						Luke Shumaker