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:
authorJoshua Leung <aligorith@gmail.com>2014-11-30 16:33:23 +0300
committerJoshua Leung <aligorith@gmail.com>2014-11-30 16:49:35 +0300
commitf0278387e86519399898b7a79b94220f53ccae40 (patch)
tree45d1372ddb0b0dffdf529a0c9bef38e557d700d9
parent9ddc4b1fba0ed663832a73dc89fa4007aff26c88 (diff)
Typo fix for comment
-rw-r--r--source/blender/editors/screen/screen_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/screen_context.c b/source/blender/editors/screen/screen_context.c
index 014fad57d3f..ce9c608247b 100644
--- a/source/blender/editors/screen/screen_context.c
+++ b/source/blender/editors/screen/screen_context.c
@@ -401,7 +401,7 @@ int ed_screen_context(const bContext *C, const char *member, bContextDataResult
}
else if (CTX_data_equals(member, "gpencil_data")) {
/* FIXME: for some reason, CTX_data_active_object(C) returns NULL when called from these situations
- * (as outlined above - see Campbell's #ifdefs). That causes the get active function to fail when
+ * (as outlined above - see Campbell's #ifdefs). That causes the get_active function to fail when
* called from context. For that reason, we end up using an alternative where we pass everything in!
*/
bGPdata *gpd = ED_gpencil_data_get_active_direct((ID *)sc, scene, sa, obact);
@@ -513,7 +513,7 @@ int ed_screen_context(const bContext *C, const char *member, bContextDataResult
op = sfile->op;
}
else if ((op = UI_context_active_operator_get(C))) {
- /* do nothign */
+ /* do nothing */
}
else {
/* note, this checks poll, could be a problem, but this also