mirror of
https://github.com/depp/syncfiles.git
synced 2024-11-21 12:30:58 +00:00
Fix data paths in generated convert/convert.r
Previously, the Rez file would have entries like this: read 'cmap' (128, "Roman") "roman"; That has been fixed to show this: read 'cmap' (128, "Roman") "charmap_roman.dat";
This commit is contained in:
parent
0ba00114d6
commit
8e04863cda
@ -61,7 +61,7 @@ func writeRez(d *scriptdata, filename string) error {
|
||||
writeStrings(w, `rSTRS_Regions, "Regions"`, constStrings(&d.regions))
|
||||
for i, cm := range d.charmaps {
|
||||
if cm.filename != "" {
|
||||
fmt.Fprintf(w, "read 'cmap' (%d, %q) %q;\n", 128+i, cm.name, cm.filename)
|
||||
fmt.Fprintf(w, "read 'cmap' (%d, %q) %q;\n", 128+i, cm.name, "charmap_"+cm.filename+".dat")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user