Skip to content

Commit c0cbba5

Browse files
authored
Merge pull request #14 from Khitiara/main
fix needing to manually escape gpt partition names
2 parents 481e0ce + 9cffaf1 commit c0cbba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BuildInterface.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ const ContentWriter = struct {
173173
try cw.code.writeByte('\n');
174174

175175
if (part.name) |name| {
176-
try cw.code.print(" name {s}\n", .{name});
176+
try cw.code.print(" name \"{}\"\n", .{std.zig.fmtEscapes(name)});
177177
}
178178
if (part.offset) |offset| {
179179
try cw.code.print(" offset {d}\n", .{offset});

0 commit comments

Comments
 (0)