mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtstyle: Remove duplicate definition of NumOfPalettes that was a) wrong b) causing issues on recent compilers
This commit is contained in:
parent
67f62e5a8a
commit
4fd18c3c16
2 changed files with 1 additions and 3 deletions
|
@ -125,8 +125,6 @@ static void InitializeBW(
|
||||||
/*+++++++++++++++++++++++++++++++++++++++*/
|
/*+++++++++++++++++++++++++++++++++++++++*/
|
||||||
/* Internal Variables */
|
/* Internal Variables */
|
||||||
/*+++++++++++++++++++++++++++++++++++++++*/
|
/*+++++++++++++++++++++++++++++++++++++++*/
|
||||||
int NumOfPalettes = 0;
|
|
||||||
|
|
||||||
static char *PALETTE_DIR = CDE_INSTALLATION_TOP "/palettes/";
|
static char *PALETTE_DIR = CDE_INSTALLATION_TOP "/palettes/";
|
||||||
static char *PALETTE_DIR_ADM = "/etc/dt/palettes/";
|
static char *PALETTE_DIR_ADM = "/etc/dt/palettes/";
|
||||||
static char *DEFAULT_FILENAME = "palette.dt";
|
static char *DEFAULT_FILENAME = "palette.dt";
|
||||||
|
|
|
@ -246,7 +246,7 @@ Widget paletteList;
|
||||||
Widget deleteButton;
|
Widget deleteButton;
|
||||||
char *defaultName;
|
char *defaultName;
|
||||||
Bool WaitSelection;
|
Bool WaitSelection;
|
||||||
int NumOfPalettes;
|
int NumOfPalettes = 0;
|
||||||
|
|
||||||
/*+++++++++++++++++++++++++++++++++++++++*/
|
/*+++++++++++++++++++++++++++++++++++++++*/
|
||||||
/* Internal Variables */
|
/* Internal Variables */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue