diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-08-21 08:11:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-08-21 08:11:15 (GMT) |
commit | 5c424c553763d3f56f56e3fa3336b0f1f4a3c44a (patch) | |
tree | 26df576f6822a144ec9e57d58a5e9cca717ebd7b /src/translator_fa.h | |
parent | 9be758009e1a4c616377dc33ccf1e55dd8b04d9b (diff) | |
download | Doxygen-5c424c553763d3f56f56e3fa3336b0f1f4a3c44a.zip Doxygen-5c424c553763d3f56f56e3fa3336b0f1f4a3c44a.tar.gz Doxygen-5c424c553763d3f56f56e3fa3336b0f1f4a3c44a.tar.bz2 |
Release-1.7.5.1
Diffstat (limited to 'src/translator_fa.h')
-rw-r--r-- | src/translator_fa.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/translator_fa.h b/src/translator_fa.h index 6459d8d..e385d79 100644 --- a/src/translator_fa.h +++ b/src/translator_fa.h @@ -50,10 +50,10 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 const char * PersianDigits[] = { "۰", "۱", "۲", "۳", "۴", "۵", "۶", "۷", "۸", "۹" }; for(unsigned i=0; i<str.length(); i++) { - if (str[i] >= '0' && str[i] <= '9') - output += PersianDigits[ str[i] - '0' ]; + if (str.at(i) >= '0' && str.at(i) <= '9') + output += PersianDigits[ str.at(i) - '0' ]; else - output += str[i]; + output += str.at(i); } return output; |