summaryrefslogtreecommitdiff
path: root/lib/inifile/write.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inifile/write.myr')
-rw-r--r--lib/inifile/write.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inifile/write.myr b/lib/inifile/write.myr
index ab4042c..8dc55dd 100644
--- a/lib/inifile/write.myr
+++ b/lib/inifile/write.myr
@@ -46,7 +46,7 @@ const writeini = {f, ini
oldsect = ""
for (sect, key) : keys
std.put("sect={}, oldsect={}\n", sect, oldsect)
- if !std.sleq(sect, oldsect)
+ if !std.eq(sect, oldsect)
bio.put(f, "[{}]\n", sect)
;;
oldsect = sect