Fix #28663: All "unit" properties show a value of 0 (on WinXP&MinGW&scons)
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 16 Sep 2011 10:03:08 +0000 (10:03 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 16 Sep 2011 10:03:08 +0000 (10:03 +0000)
commitc912af36cac3b6cbab7a6a9ccbb98c987b771d7d
tree05bfc3c9959dde51176239fb31578a048f4ddbbc
parent8ca82cec46944da31302616306d57931e3a04e86
Fix #28663: All "unit" properties show a value of 0 (on WinXP&MinGW&scons)

Initially problem was caused by updated version of mingw-runtime which
changed behavior of snprintf and vsnprintf so %lf isn't anymore valid
for doubles.

According to manpages, %f is a correct format for snprintf for doubles.
source/blender/blenkernel/intern/collision.c
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/unit.c