mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-09-07 14:04:36 +02:00
clean incorrect Fatal
This commit is contained in:
@@ -26,7 +26,7 @@ func NewSkinManager() *SkinManager {
|
||||
|
||||
func (self *SkinManager) ConvertToRGB(hexstr string) *color.Color {
|
||||
if len(hexstr) < 7 || string(hexstr[0]) != "#" { // # 00 00 00
|
||||
log.Fatalf("ConvertToRGB hex string format error %s", hexstr)
|
||||
log.Printf("ConvertToRGB hex string format error %s\n", hexstr)
|
||||
//fmt.Printf("ConvertToRGB hex string format error %s", hexstr)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user