diff options
author | Keith Packard <keithp@guitar.keithp.com> | 2006-09-20 12:05:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@guitar.keithp.com> | 2006-09-20 12:05:52 -0700 |
commit | d08718d8fd31477e90f13b9e122504c515b46ee0 (patch) | |
tree | 2c65df397d32909eebd8ddedc7196cbce3f37852 /randr/rrmode.c | |
parent | ef1f3248cb5fff0a02c0059f865c4d931eba23a6 (diff) |
Avoid calling xalloc(0). Change rrScreenSizeSet to rrScreenSetSize.
Diffstat (limited to 'randr/rrmode.c')
-rw-r--r-- | randr/rrmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrmode.c b/randr/rrmode.c index ab0ea18d9..23ac5305c 100644 --- a/randr/rrmode.c +++ b/randr/rrmode.c @@ -27,7 +27,7 @@ RESTYPE RRModeType; RRModePtr RRModeGet (ScreenPtr pScreen, xRRModeInfo *modeInfo, - char *name) + const char *name) { rrScrPriv (pScreen); int i; |