Avoid calling xalloc(0). Change rrScreenSizeSet to rrScreenSetSize.

This commit is contained in:
Keith Packard 2006-09-20 12:05:52 -07:00
commit d08718d8fd
6 changed files with 98 additions and 43 deletions

View file

@ -27,7 +27,7 @@ RESTYPE RRModeType;
RRModePtr
RRModeGet (ScreenPtr pScreen,
xRRModeInfo *modeInfo,
char *name)
const char *name)
{
rrScrPriv (pScreen);
int i;