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

Allow the tinfo1-4 values to be edited when using the '-e' option.

parent 82d5229b
Branches
Tags
No related merge requests found
...@@ -72,6 +72,11 @@ function main() ...@@ -72,6 +72,11 @@ function main()
if(str) if(str)
sauce[i] = truncp(str); sauce[i] = truncp(str);
} }
for(var i = 1; i <= 4; i++) {
var str = prompt("tinfo" + i + " [" + sauce["tinfo" + i] + "]");
if(str)
sauce["tinfo" + i] = parseInt(str);
}
var orig_comment = sauce.comment.slice(); var orig_comment = sauce.comment.slice();
sauce.comment.length = 0; sauce.comment.length = 0;
for(var i=0; i < lib.defs.max_comments; i++) { for(var i=0; i < lib.defs.max_comments; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment