mirror of
				https://github.com/KevinMidboe/motdGOi.git
				synced 2025-10-29 17:50:24 +00:00 
			
		
		
		
	small layout fixes
This commit is contained in:
		
							
								
								
									
										2
									
								
								font.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								font.go
									
									
									
									
									
								
							| @@ -28,7 +28,7 @@ type font struct { | ||||
| 	hardblank string | ||||
| 	// Height of one char | ||||
| 	height int | ||||
| 	// | ||||
| 	// A string for each line of the char | ||||
| 	fontSlice []string | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -30,10 +30,13 @@ type fontManager struct { | ||||
| } | ||||
|  | ||||
| // Create a new fontmanager | ||||
| // Initializes the fontManager, | ||||
| // loads the builtin fonts and returns it | ||||
| func newFontManager() *fontManager { | ||||
| 	fm := &fontManager{} | ||||
| 	fm.fontLib = make(map[string]*font) | ||||
| 	fm.fontList = make(map[string]string) | ||||
| 	fm := &fontManager{ | ||||
| 		fontLib:  make(map[string]*font), | ||||
| 		fontList: make(map[string]string), | ||||
| 	} | ||||
| 	fm.loadBuildInFont() | ||||
| 	return fm | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user