From 42e287af1cc3ed2f37630f6f62c82c2d8ccc66b3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 19 Oct 2008 04:02:37 +0000 Subject: source/blender/blenloader/intern/readfile.c - use memmove rather then strncpy for overlapping strings. source/blender/blenlib/intern/fileops.c - zero length strings would check for a slash before the strings first char. source/gameengine/GameLogic/SCA_JoystickSensor.cpp - m_istrig_prev was not initialized source/blender/src/editmesh.c - active face pointer was not set to NULL in free_editMesh() --- source/gameengine/GameLogic/SCA_JoystickSensor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/gameengine/GameLogic/SCA_JoystickSensor.cpp') diff --git a/source/gameengine/GameLogic/SCA_JoystickSensor.cpp b/source/gameengine/GameLogic/SCA_JoystickSensor.cpp index d0dc875da0b..8b96840b149 100644 --- a/source/gameengine/GameLogic/SCA_JoystickSensor.cpp +++ b/source/gameengine/GameLogic/SCA_JoystickSensor.cpp @@ -74,6 +74,7 @@ std::cout << " hat flag " << m_hatf << std::endl; void SCA_JoystickSensor::Init() { m_istrig=(m_invert)?1:0; + m_istrig_prev=0; m_reset = true; } -- cgit v1.2.3