Skip to content
Snippets Groups Projects
Commit 8731b6d2 authored by Kayz's avatar Kayz
Browse files

Update sutils.js to format properly inside bbs (reported by jc)

parent 7df76d2f
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!55Update sutils.js to format properly inside bbs (reported by jc)
Pipeline #936 passed
"use strict";
const REVISION = "$Revision: 1.0 $".split(' ')[1];
......@@ -29,7 +28,7 @@ while((!which || which < 1) && !aborted()) {
if (typeof categories !== "undefined") {
var x = 1;
for (var catid in categories) {
printf("%2d. %s\n", x, categories[catid]);
printf("%2d. %s\r\n", x, categories[catid]);
categoryitems[x] = catid;
x++;
};
......@@ -73,7 +72,7 @@ function docategorymenu(catid, catname) {
var x = 1;
for (var iniid in utilitems) {
if (file_exists(js.exec_dir + utilitems[iniid].filename)) {
printf("%2d. %-20s %s\n", x, utilitems[iniid].name, utilitems[iniid].desc);
printf("%2d. %-20s %s\r\n", x, utilitems[iniid].name, utilitems[iniid].desc);
menuitems[x] = iniid;
x++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment