Re: ddraw.c: avoid memory overwrite in GetDeviceIdentifier()

2009-10-12 Thread Stefan Dösinger
> diff --git a/dlls/ddraw/tests/visual.c b/dlls/ddraw/tests/visual.c > index 450d231..645fa8d 100644 > --- a/dlls/ddraw/tests/visual.c > +++ b/dlls/ddraw/tests/visual.c The visual.c file doesn't seem quite right for this test. There's no really matching file, but I think ddrawmodes.c is better,

Re: ddraw.c: avoid memory overwrite in GetDeviceIdentifier()

2009-10-12 Thread Reece Dunn
+ * Fill result structure element by element to avoid memory overwrites + * du to size alignment. That should be "*due* to size alignment." - Reece