s/setfont/initfont/
This commit is contained in:
		
							
								
								
									
										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;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user