s/setfont/initfont/
This commit is contained in:
		
							parent
							
								
									a1913a6af7
								
							
						
					
					
						commit
						e4fc905317
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								main.c
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								main.c
									
										
									
									
									
								
							|  | @ -119,7 +119,7 @@ getcolor(const char *colstr) { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| static void | static void | ||||||
| setfont(const char *fontstr) { | initfont(const char *fontstr) { | ||||||
| 	char *def, **missing; | 	char *def, **missing; | ||||||
| 	int i, n; | 	int i, n; | ||||||
| 
 | 
 | ||||||
|  | @ -474,7 +474,7 @@ main(int argc, char *argv[]) { | ||||||
| 	dc.norm[ColFG] = getcolor(normfg); | 	dc.norm[ColFG] = getcolor(normfg); | ||||||
| 	dc.sel[ColBG] = getcolor(selbg); | 	dc.sel[ColBG] = getcolor(selbg); | ||||||
| 	dc.sel[ColFG] = getcolor(selfg); | 	dc.sel[ColFG] = getcolor(selfg); | ||||||
| 	setfont(font); | 	initfont(font); | ||||||
| 	/* menu window */ | 	/* menu window */ | ||||||
| 	wa.override_redirect = 1; | 	wa.override_redirect = 1; | ||||||
| 	wa.background_pixmap = ParentRelative; | 	wa.background_pixmap = ParentRelative; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue