From d3305bb76fb45645aad3b54c0344f6a0a7cc104d Mon Sep 17 00:00:00 2001 From: Benelot Date: Thu, 19 Jan 2017 09:11:06 +0100 Subject: [PATCH] Change jointIndex to linkIndex in getLinkState error message. --- examples/pybullet/pybullet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index 07af59b6d..c02ff4bb7 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -2054,7 +2054,7 @@ b3PhysicsClientHandle sm = 0; return NULL; } if (linkIndex < 0) { - PyErr_SetString(SpamError, "getLinkState failed; invalid jointIndex"); + PyErr_SetString(SpamError, "getLinkState failed; invalid linkIndex"); return NULL; }