| OLD | NEW |
| 1 ######################## BEGIN LICENSE BLOCK ######################## | 1 ######################## BEGIN LICENSE BLOCK ######################## |
| 2 # The Original Code is Mozilla Communicator client code. | 2 # The Original Code is Mozilla Communicator client code. |
| 3 # | 3 # |
| 4 # The Initial Developer of the Original Code is | 4 # The Initial Developer of the Original Code is |
| 5 # Netscape Communications Corporation. | 5 # Netscape Communications Corporation. |
| 6 # Portions created by the Initial Developer are Copyright (C) 1998 | 6 # Portions created by the Initial Developer are Copyright (C) 1998 |
| 7 # the Initial Developer. All Rights Reserved. | 7 # the Initial Developer. All Rights Reserved. |
| 8 # | 8 # |
| 9 # Contributor(s): | 9 # Contributor(s): |
| 10 # Mark Pilgrim - port to Python | 10 # Mark Pilgrim - port to Python |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 210 |
| 211 # return its order if it is hiragana | 211 # return its order if it is hiragana |
| 212 if len(aBuf) > 1: | 212 if len(aBuf) > 1: |
| 213 second_char = wrap_ord(aBuf[1]) | 213 second_char = wrap_ord(aBuf[1]) |
| 214 if (first_char == 0xA4) and (0xA1 <= second_char <= 0xF3): | 214 if (first_char == 0xA4) and (0xA1 <= second_char <= 0xF3): |
| 215 return second_char - 0xA1, charLen | 215 return second_char - 0xA1, charLen |
| 216 | 216 |
| 217 return -1, charLen | 217 return -1, charLen |
| 218 | 218 |
| 219 # flake8: noqa | 219 # flake8: noqa |
| OLD | NEW |