d3d10: Fix a typo.
Henri Verbeet
hverbeet at codeweavers.com
Mon Mar 2 01:52:48 CST 2009
---
dlls/d3d10/effect.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c
index 09a9378..4e725e3 100644
--- a/dlls/d3d10/effect.c
+++ b/dlls/d3d10/effect.c
@@ -32,8 +32,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d10);
static inline void read_dword(const char **ptr, DWORD *d)
{
- memcpy(d, *ptr, sizeof(d));
- *ptr += sizeof(d);
+ memcpy(d, *ptr, sizeof(*d));
+ *ptr += sizeof(*d);
}
static inline void skip_dword_unknown(const char **ptr, unsigned int count)
--
1.6.0.6
--------------040301070406040506080103--
More information about the wine-patches
mailing list