Skip to content

Commit

Permalink
Fixed bug in translate function
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelstaldal committed Jul 26, 2005
1 parent 00c4da0 commit f30cc82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion HISTORY
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@

1.5
---
* SimpleExtLib for easier extension library implementation.
* LSP framework.
* SimpleExtLib for easier extension library implementation.
* encodeURL in Servlet extension library.
* Custom XSLT transform factory for Maverick to load stylesheets from
WEB-INF/classes and use the improved formatting code.
* LSP compiler lower thread priority to be allow other processes to run
during compilation.
* Fixed bug in LSP translate function.
2 changes: 1 addition & 1 deletion src/nu/staldal/lsp/LSPPageBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ protected static String fnTranslate(String a, String b, String c)
char ch = a.charAt(i);
int index = b.indexOf(ch);
if (index < 0)
sb.append(c);
sb.append(ch);
else if (index >= c.length())
;
else
Expand Down

0 comments on commit f30cc82

Please sign in to comment.