summaryrefslogtreecommitdiffstats
path: root/src/translator_fa.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-08-21 08:11:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-08-21 08:11:15 (GMT)
commit5c424c553763d3f56f56e3fa3336b0f1f4a3c44a (patch)
tree26df576f6822a144ec9e57d58a5e9cca717ebd7b /src/translator_fa.h
parent9be758009e1a4c616377dc33ccf1e55dd8b04d9b (diff)
downloadDoxygen-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.h6
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;