Author: ptw
Date: 2006-11-09 12:47:38 -0800 (Thu, 09 Nov 2006)
New Revision: 2457
Modified:
openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/LzFormat.lzs
Log:
Modified: openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/LzFormat.lzs
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/LzFormat.lzs
2006-11-09 20:29:12 UTC (rev 2456)
+++ openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/LzFormat.lzs
2006-11-09 20:47:38 UTC (rev 2457)
@@ -177,7 +177,7 @@
} else {
sign = null;
if (pad != ' ') {
- if (isNaN(str.substring(0, 1))) {
+ if (" +-".indexOf(str.substring(0, 1)) >= 0) {
sign = str.substring(0, 1);
str = str.substring(1);
}
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins