From 29cbf93b075c9be2fb635450e8ce55a474ec0e18 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 13 Sep 2013 03:49:11 +0000 Subject: correct error in libmv stub, also correct typo. --- extern/libmv/libmv-capi_stub.cc | 2 +- source/blender/makesrna/intern/rna_access.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extern/libmv/libmv-capi_stub.cc b/extern/libmv/libmv-capi_stub.cc index 59a3fe89398..4896f4c6949 100644 --- a/extern/libmv/libmv-capi_stub.cc +++ b/extern/libmv/libmv-capi_stub.cc @@ -280,7 +280,7 @@ void libmv_cameraIntrinsicsInvert(const libmv_CameraIntrinsicsOptions *libmv_cam void libmv_homography2DFromCorrespondencesLinear(double (* /* x1 */)[2], double (* /* x2 */)[2], int /* num_points */, double H[3][3], double /* expected_precision */) { - memset(H, 0, sizeof(H)); + memset(H, 0, sizeof(double[3][3])); H[0][0] = 1.0f; H[1][1] = 1.0f; H[2][2] = 1.0f; diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 11323779b85..4cdb3b4ca7e 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -5171,7 +5171,7 @@ char *RNA_property_as_string(bContext *C, PointerRNA *ptr, PropertyRNA *prop, in char *cstring; - /* see if we can coorce into a python type - PropertyType */ + /* see if we can coerce into a python type - PropertyType */ switch (type) { case PROP_BOOLEAN: if (len == 0) { -- cgit v1.2.3