mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	scanner: don't print new line when no descriptions are provided
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
		
							parent
							
								
									899652201f
								
							
						
					
					
						commit
						8f9de83f7b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -661,8 +661,9 @@ emit_structs(struct wl_list *message_list, struct interface *interface)
 | 
			
		|||
		if (mdesc) {
 | 
			
		||||
			printf("\t * ");
 | 
			
		||||
			desc_dump(mdesc->text, 8);
 | 
			
		||||
			printf("\n");
 | 
			
		||||
		}
 | 
			
		||||
		printf("\n\t */\n");
 | 
			
		||||
		printf("\t */\n");
 | 
			
		||||
		printf("\tvoid (*%s)(", m->name);
 | 
			
		||||
 | 
			
		||||
		n = strlen(m->name) + 17;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue