2
0
Эх сурвалжийг харах

Merge pull request #4297 from flysand7/ini-section

[encoding/ini]: Add missing line terminator at the end of the section
gingerBill 11 сар өмнө
parent
commit
e397fb6a7f

+ 1 - 0
core/encoding/ini/ini.odin

@@ -154,6 +154,7 @@ write_section :: proc(w: io.Writer, name: string, n_written: ^int = nil) -> (n:
 	io.write_byte  (w, '[',  &n) or_return
 	io.write_string(w, name, &n) or_return
 	io.write_byte  (w, ']',  &n) or_return
+	io.write_byte  (w, '\n',  &n) or_return
 	return
 }