Fixing more errors coverity found.
authorKent Mein <mein@cs.umn.edu>
Wed, 15 Apr 2009 16:16:00 +0000 (16:16 +0000)
committerKent Mein <mein@cs.umn.edu>
Wed, 15 Apr 2009 16:16:00 +0000 (16:16 +0000)
commit3616eb9031df319b2865172482413d7dd916c46c
treea784c938e5a10b2a91a28e0101cc1b60c510c988
parent514c78ba39f296fcac60b33d9a040af2051d23cc
Fixing more errors coverity found.

Imagepaint make sure ibuf exists before we use it.  This is CID# 545
editmesh_tools.c make sure were not indexing array with -1 This is CID# 137
(also removed some trailing whitespace I found)

anim5.c totlen could be -1 so check its > -1  This is CID# 134

Kent
source/blender/imbuf/intern/anim5.c
source/blender/src/editmesh_tools.c
source/blender/src/imagepaint.c