dtstyle: Remove duplicate definition of NumOfPalettes that was a) wrong b) causing issues on recent compilers
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user