mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
This commit is contained in:
1 parent
21bd592358
commit
bec13d523f
47 files changed
+1455
-539
No files matched your search
@@ -49,7 +49,7 @@ func editorResourceDefinitions(ctx context.Context, data []byte, name string, so
|
||||
result.ids, result.fonts = make(map[string]bool), nil
|
||||
result.definitions = make(map[string]*editorResourceRefs)
|
||||
outer := &editorResourceRefs{ids: make(map[string]bool), files: make(map[string]bool), fonts: make(map[string]*editorFontUsage)}
|
||||
scan := editorReferenceScan{refs: outer, name: name, safe: true}
|
||||
scan := editorReferenceScan{ctx: ctx, refs: outer, name: name, safe: true}
|
||||
input := bufio.NewReader(imageInput{ReadCloser: io.NopCloser(bytes.NewReader(data)), context: ctx})
|
||||
if found, err := editorXMLPrefix(input); err != nil || !found {
|
||||
return nil, err
|
||||
|
||||
Reference in new issue
Block a user