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>2009-08-17 16:48:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-08-17 16:48:56 +0400
commit9f973bca78877a10b6da5a11b3bafc946879050c (patch)
tree91b4d2e92486eaa2464feec032394f0123ab042d /source/blender/windowmanager
parentf1ec842cb261fe9ea9911a58b982190ea71e16e7 (diff)
units with no separator can now be typed into number buttons - eg, 5'7" 2km4m
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 1cdf68ebc19..2e813bac37d 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -322,7 +322,7 @@ void WM_operator_py_idname(char *to, const char *from)
/* some.op -> SOME_OT_op */
void WM_operator_bl_idname(char *to, const char *from)
{
- char *sep= strstr(from, ".");
+ char *sep= strchr(from, '.');
if(sep) {
int i, ofs= (sep-from);