Module: wine Branch: master Commit: 9c6b1fee3859784b6595ec3a0cf9e25980fa6fdb URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c6b1fee3859784b6595ec3a0c...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Fri Jul 11 21:58:38 2008 +0100
winedos: Remove unneeded address-of operators from array names.
---
dlls/winedos/int10.c | 2 +- dlls/winedos/vga.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
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)