Skip to content
Snippets Groups Projects
Commit 35b2d462 authored by rswindell's avatar rswindell
Browse files

Add a helpful comment to the created data/text/*.ini files.

parent e4efcba4
No related branches found
No related tags found
No related merge requests found
......@@ -90,10 +90,13 @@ function update_gfile_indexes()
file.close();
file = new File(ini_file);
printf(" to %-30s ", file.name);
if(!file.open("wt")) {
if(!file.open("w+")) {
alert("Error " + file.error + " creating " + file.name);
continue;
}
file.writeln("; Migrated from " + ixt_files[i]
+ " by " + js.exec_file + " " + REVISION
+ " on " + new Date().toLocaleString());
file.iniSetAllObjects(list);
file.close();
print("Success");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment