mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
PALOBJ_cGetColors(): PalObj is already a pointer to PALGDI, no need to call AccessInternalObjectFromUserObject(PalObj). At least it gives error when this function is invoked. If I'm mistaking (this function is being called with wrong param), please notify me.
svn path=/trunk/; revision=6129
This commit is contained in:
parent
07a35efe80
commit
2f740eff13
1 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: palette.c,v 1.17 2003/08/28 12:35:59 gvg Exp $
|
||||
/* $Id: palette.c,v 1.18 2003/09/25 14:32:55 fireball Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -70,7 +70,8 @@ PALOBJ_cGetColors(PALOBJ *PalObj,
|
|||
ULONG i;
|
||||
PALGDI *PalGDI;
|
||||
|
||||
PalGDI = (PALGDI*)AccessInternalObjectFromUserObject(PalObj);
|
||||
PalGDI = (PALGDI*)PalObj;
|
||||
//PalGDI = (PALGDI*)AccessInternalObjectFromUserObject(PalObj);
|
||||
|
||||
for(i=Start; i<Colors; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue