I was incrementing the counter twice in the "count linefeeds" loop. Stop doing that.
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 28 Apr 2009 02:28:47 +0000 (02:28 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 28 Apr 2009 02:28:47 +0000 (02:28 +0000)
commitf6236d69e36299abb65895ecac6c16e24a8940c0
treef1d37185684563f9b970ff6d8db6bdcedecdfe04
parentbd53b775f948c8cb046510c762ccd0c793353f92
I was incrementing the counter twice in the "count linefeeds" loop. Stop doing that.
Also, use a Unicode-safe algorithm for iterating over characters.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@13006 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/xul/staff_client/chrome/content/util/error.js