mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-18 19:52:21 +00:00
Avoid calling xalloc(0). Change rrScreenSizeSet to rrScreenSetSize.
This commit is contained in:
parent
ef1f3248cb
commit
d08718d8fd
6 changed files with 98 additions and 43 deletions
|
|
@ -27,7 +27,7 @@ RESTYPE RRModeType;
|
|||
RRModePtr
|
||||
RRModeGet (ScreenPtr pScreen,
|
||||
xRRModeInfo *modeInfo,
|
||||
char *name)
|
||||
const char *name)
|
||||
{
|
||||
rrScrPriv (pScreen);
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue