mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 13:56:32 +08:00
1 parent
53769b65ab
commit
492adccb81
35 files changed
+1182
-239
No files matched your search
@@ -68,7 +68,7 @@ func (r *Reader) colorProfile(space *ColorSpace) (*colorProfile, error) {
|
||||
}
|
||||
name := r.ResPath(space.Profile)
|
||||
for _, other := range r.colorSpaceCache {
|
||||
if other != nil && other.profile != nil && strings.EqualFold(other.Type, space.Type) && strings.EqualFold(r.ResPath(other.Profile), name) {
|
||||
if other != nil && other.profile != nil && strings.EqualFold(other.Type, space.Type) && r.ResPath(other.Profile) == name {
|
||||
space.profile = other.profile
|
||||
return space.profile, space.profile.err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user