Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-21 06:30:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-21 06:30:40 +0400
commit38cee985bb6d6a45fe59cc539dfa9cd6412b6f36 (patch)
tree59497913e5644e045b21ecb7ba7ad0ee3a5a8ac8 /source/blender/python/intern/bpy_app_translations.c
parentadd25e43adae7204d27685eafefde343096d5698 (diff)
code cleanup: style & warnings.
Diffstat (limited to 'source/blender/python/intern/bpy_app_translations.c')
-rw-r--r--source/blender/python/intern/bpy_app_translations.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_app_translations.c b/source/blender/python/intern/bpy_app_translations.c
index b501ed2a226..6e9f12ec529 100644
--- a/source/blender/python/intern/bpy_app_translations.c
+++ b/source/blender/python/intern/bpy_app_translations.c
@@ -147,7 +147,7 @@ static void _build_translations_cache(PyObject *py_messages, const char *locale)
_translations_cache = BLI_ghash_new(_ghashutil_keyhash, _ghashutil_keycmp, __func__);
/* Iterate over all py dicts. */
- while(PyDict_Next(py_messages, &pos, NULL, &uuid_dict)) {
+ while (PyDict_Next(py_messages, &pos, NULL, &uuid_dict)) {
PyObject *lang_dict;
#if 0
@@ -172,7 +172,7 @@ static void _build_translations_cache(PyObject *py_messages, const char *locale)
Py_ssize_t ppos = 0;
/* Iterate over all translations of the found language dict, and populate our ghash cache. */
- while(PyDict_Next(lang_dict, &ppos, &pykey, &trans)) {
+ while (PyDict_Next(lang_dict, &ppos, &pykey, &trans)) {
GHashKey *key;
PyObject *tmp;
const char *msgctxt = NULL, *msgid = NULL;