mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: deprecate short struct init (#10842)
This commit is contained in:
@@ -616,7 +616,7 @@ fn (mut tf TTF_File) read_offset_tables() {
|
||||
mut i := 0
|
||||
for i < num_tables {
|
||||
tag := tf.get_string(4)
|
||||
tf.tables[tag] = {
|
||||
tf.tables[tag] = Offset_Table{
|
||||
checksum: tf.get_u32()
|
||||
offset: tf.get_u32()
|
||||
length: tf.get_u32()
|
||||
|
Reference in New Issue
Block a user