winedos: Remove unneeded address-of operators from array names
Andrew Talbot
andrew.talbot at talbotville.com
Fri Jul 11 15:58:38 CDT 2008
Changelog:
winedos: Remove unneeded address-of operators from array names.
diff --git a/dlls/winedos/int10.c b/dlls/winedos/int10.c
index a056cb6..94ea6ff 100644
--- a/dlls/winedos/int10.c
+++ b/dlls/winedos/int10.c
@@ -548,7 +548,7 @@ static BOOL INT10_FillModeInformation( struct _ModeInfoBlock *mib, WORD mode )
mib->MaxPixelClock = 0; /* FIXME */
/* 66 - BYTE[190]: reserved, set to zero */
- memset( &mib->Reserved4, 0, 190 );
+ memset( mib->Reserved4, 0, 190 );
return TRUE;
}
diff --git a/dlls/winedos/vga.c b/dlls/winedos/vga.c
index 26618a2..fd52689 100644
--- a/dlls/winedos/vga.c
+++ b/dlls/winedos/vga.c
@@ -563,7 +563,7 @@ void VGA_Set16Palette(char *Table)
int c;
if (!lpddraw) return; /* return if we're in text only mode */
- memcpy( Table, &vga_16_palette, 17 ); /* copy the entries into the table */
+ memcpy( Table, vga_16_palette, 17 ); /* copy the entries into the table */
for (c=0; c<17; c++) { /* 17 entries */
pal= &vga_def64_palette[(int)vga_16_palette[c]]; /* get color */
@@ -577,7 +577,7 @@ void VGA_Get16Palette(char *Table)
{
if (!lpddraw) return; /* return if we're in text only mode */
- memcpy( &vga_16_palette, Table, 17 ); /* copy the entries into the table */
+ memcpy( vga_16_palette, Table, 17 ); /* copy the entries into the table */
}
void VGA_SetQuadPalette(RGBQUAD*color,int start,int len)
More information about the wine-patches
mailing list