mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
SrvPalette.c: missed a merge conflict in SrvPalette.c
This commit is contained in:
parent
313b4a8e0b
commit
04b2d175aa
1 changed files with 0 additions and 8 deletions
|
@ -613,13 +613,6 @@ CheckMonitor(
|
|||
(struct _palette *) SRV_MALLOC( sizeof(struct _palette) + 1 );
|
||||
|
||||
/* allocate enough space for the name */
|
||||
<<<<<<< HEAD
|
||||
strcpy(tmpPalette, pColorSrvRsrc.MonochromePalette);
|
||||
for (token1=tmpPalette; *token1; token1++);
|
||||
while (token1!=tmpPalette && *token1!='.') token1--;
|
||||
if (!strcmp(token1,PALETTE_SUFFIX)) *token1 = '\0';
|
||||
colorSrv.pCurrentPalette[screen_number]->name =
|
||||
=======
|
||||
snprintf(tmpPalette, SRVBUFSIZE, "%s",
|
||||
pColorSrvRsrc.MonochromePalette);
|
||||
for (token1=tmpPalette; *token1; token1++)
|
||||
|
@ -629,7 +622,6 @@ CheckMonitor(
|
|||
if (!strcmp(token1, PALETTE_SUFFIX))
|
||||
*token1 = '\0';
|
||||
colorSrv.pCurrentPalette[screen_number]->name =
|
||||
>>>>>>> master
|
||||
(char *)SRV_MALLOC(strlen(tmpPalette) + 1);
|
||||
strcpy(colorSrv.pCurrentPalette[screen_number]->name,
|
||||
(char *) tmpPalette);
|
||||
|
|
Loading…
Reference in a new issue