Parcourir la source

Merge pull request #4297 from flysand7/ini-section

[encoding/ini]: Add missing line terminator at the end of the section
gingerBill il y a 11 mois
Parent
commit
e397fb6a7f
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      core/encoding/ini/ini.odin

+ 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
 }