diff options
Diffstat (limited to 'engines/sword25/gfx/image/vectorimagerenderer.cpp')
-rw-r--r-- | engines/sword25/gfx/image/vectorimagerenderer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/gfx/image/vectorimagerenderer.cpp b/engines/sword25/gfx/image/vectorimagerenderer.cpp index 16d1abf9f9..d4c1a9c0f1 100644 --- a/engines/sword25/gfx/image/vectorimagerenderer.cpp +++ b/engines/sword25/gfx/image/vectorimagerenderer.cpp @@ -248,9 +248,9 @@ void art_rgb_svp_alpha1(const ArtSVP *svp, } static int art_vpath_len(ArtVpath *a) { - int i; - - for (i = 0; a[i].code != ART_END; i++); + int i = 0; + while (a[i].code != ART_END) + i++; return i; } |