AndrolibResources.escapeForResXml(): fixed a bug when there are many spaces at the end.

This commit is contained in:
Ryszard Wiśniewski 2010-04-28 21:31:06 +02:00
parent add6fbc24d
commit d459a4bb8b

View File

@ -365,7 +365,7 @@ final public class AndrolibResources {
out.append(c);
}
if (space) {
if (space && out.charAt(out.length() - 1) == ' ') {
out.deleteCharAt(out.length() - 1);
out.append("\\u0020");
}