1
0
Fork 0

what about using string.trim() correctly?!

This commit is contained in:
mfranz 2008-01-22 20:03:00 +00:00
parent 1fd9c1d8f2
commit e22b74016e

View file

@ -83,7 +83,7 @@ command interface /autopilot/route-manager/input:
call(func {
var file = io.open(path.getValue(), "r");
while ((var wp = io.readln(file)) != nil) {
string.trim(wp);
wp = string.trim(wp);
if (wp != "")
setprop("/autopilot/route-manager/input", wp);
}