File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -132,19 +132,19 @@ const ContentWriter = struct {
132
132
for (data .partitions ) | mpart | {
133
133
if (mpart ) | part | {
134
134
try cw .code .writeAll (" part\n " );
135
+ try cw .code .print (" type {s}\n " , .{@tagName (part .type )});
135
136
if (part .bootable ) {
136
- try cw .code .print (" type {s}\n " , .{@tagName (part .type )});
137
137
try cw .code .writeAll (" bootable\n " );
138
- if (part .offset ) | offset | {
139
- try cw .code .print (" offset {d}\n " , .{offset });
140
- }
141
- if (part .size ) | size | {
142
- try cw .code .print (" size {d}\n " , .{size });
143
- }
144
- try cw .code .writeAll (" contains" );
145
- try cw .render (part .data );
146
- try cw .code .writeAll ("\n " );
147
138
}
139
+ if (part .offset ) | offset | {
140
+ try cw .code .print (" offset {d}\n " , .{offset });
141
+ }
142
+ if (part .size ) | size | {
143
+ try cw .code .print (" size {d}\n " , .{size });
144
+ }
145
+ try cw .code .writeAll (" contains" );
146
+ try cw .render (part .data );
147
+ try cw .code .writeAll ("\n " );
148
148
try cw .code .writeAll (" endpart\n " );
149
149
} else {
150
150
try cw .code .writeAll (" ignore\n " );
You can’t perform that action at this time.
0 commit comments