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>2015-07-14 02:17:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-14 02:17:00 +0300
commitb7c42ef93edeadc28015a6eae184ff07f26e9c36 (patch)
tree5db2071d1eeb564106cc960e8ec74df77ea90725 /source/blender/windowmanager
parent2de497eee0aed6bf1444e494a3871ec0e0d728db (diff)
Cleanup: use ascii as suffix (as with utf8)
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 60b102ccc65..c4f6a5aafdb 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -543,7 +543,7 @@ void WM_operator_py_idname(char *to, const char *from)
/* note, we use ascii tolower instead of system tolower, because the
* latter depends on the locale, and can lead to idname mismatch */
memcpy(to, from, sizeof(char) * ofs);
- BLI_ascii_strtolower(to, ofs);
+ BLI_str_tolower_ascii(to, ofs);
to[ofs] = '.';
BLI_strncpy(to + (ofs + 1), sep + 4, OP_MAX_TYPENAME - (ofs + 1));
@@ -564,7 +564,7 @@ void WM_operator_bl_idname(char *to, const char *from)
int ofs = (sep - from);
memcpy(to, from, sizeof(char) * ofs);
- BLI_ascii_strtoupper(to, ofs);
+ BLI_str_toupper_ascii(to, ofs);
strcpy(to + ofs, "_OT_");
strcpy(to + (ofs + 4), sep + 1);
}