More fixes

10.3.x-maintenance
KiteAnton 2016-07-14 00:38:31 +02:00
parent e135d85d5d
commit 6334e1a3e9
2 changed files with 3 additions and 3 deletions

View File

@ -743,7 +743,7 @@ var MSP = {
if (letter != '\0') {
name += letter;
}
} while (letter != '\0' && offset < 100);
} while (letter != '\0');
CONFIG.name = name;
break;
@ -1507,7 +1507,7 @@ MSP.crunch = function (code) {
break;
case MSP_codes.MSP_SET_NAME:
for (var i = 0; i<32; i++) {
for (var i = 0; i<CONFIG.name.length; i++) {
buffer.push(CONFIG.name.charCodeAt(i));
}
break;

View File

@ -491,7 +491,7 @@
</div>
<div class="spacer_box">
<div class="number">
<label> <input type="text" name="vesselName"/> <span
<label> <input type="text" name="vesselName" maxlength="32"/> <span
i18n="configurationVesselName"></span>
</label>
</div>