Fix error: format not a string literal and no format arguments [-Werror=format-security]
This commit is contained in:
		
							parent
							
								
									f317076cb2
								
							
						
					
					
						commit
						8fb4bfb288
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -149,7 +149,7 @@ create_msg_dialog (gchar *title, gchar *message)
 | 
			
		|||
{
 | 
			
		||||
	GtkWidget *dialog;
 | 
			
		||||
 | 
			
		||||
	dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, message);
 | 
			
		||||
	dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "%s", message);
 | 
			
		||||
	gtk_window_set_title (GTK_WINDOW (dialog), title);
 | 
			
		||||
 | 
			
		||||
/* On Win32 we automatically have the icon. If we try to load it explicitly, it will look ugly for some reason. */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue