Marcus Meissner : d3dx9_36: Use correct loop index (Coverity).
Alexandre Julliard
julliard at winehq.org
Tue Apr 30 12:51:27 CDT 2013
Module: wine
Branch: master
Commit: 563f3cbc9212a2b4bf9f1a080469fdf8b8d2dadb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=563f3cbc9212a2b4bf9f1a080469fdf8b8d2dadb
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Mon Apr 29 22:11:58 2013 +0200
d3dx9_36: Use correct loop index (Coverity).
---
dlls/d3dx9_36/effect.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c
index 3295020..c4afbe5 100644
--- a/dlls/d3dx9_36/effect.c
+++ b/dlls/d3dx9_36/effect.c
@@ -560,7 +560,7 @@ static struct d3dx_parameter *get_valid_parameter(struct ID3DXBaseEffectImpl *ba
for (m = 0; m < pass->annotation_count; ++m)
{
- if (pass->annotation_handles[i] == parameter)
+ if (pass->annotation_handles[m] == parameter)
{
return get_parameter_struct(parameter);
}
More information about the wine-cvs
mailing list