mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	theme: fix icon bug
Do not carry over previous alt_filename for icons that don't have one.
This commit is contained in:
		
							parent
							
								
									c79b8ba8a7
								
							
						
					
					
						commit
						5bc58fc381
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -227,6 +227,7 @@ load_buttons(struct theme *theme)
 | 
			
		|||
 | 
			
		||||
		/* If there were no png/svg buttons, use xbm */
 | 
			
		||||
		snprintf(filename, sizeof(filename), "%s.xbm", b->name);
 | 
			
		||||
		alt_filename[0] = '\0';
 | 
			
		||||
		if (b->alt_name) {
 | 
			
		||||
			snprintf(alt_filename, sizeof(alt_filename), "%s.xbm", b->alt_name);
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue