1
0
Fork 0
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:
Peter Howkins 2020-11-23 18:28:01 +00:00
parent 67f62e5a8a
commit 4fd18c3c16
2 changed files with 1 additions and 3 deletions

View file

@ -125,8 +125,6 @@ static void InitializeBW(
/*+++++++++++++++++++++++++++++++++++++++*/
/* Internal Variables */
/*+++++++++++++++++++++++++++++++++++++++*/
int NumOfPalettes = 0;
static char *PALETTE_DIR = CDE_INSTALLATION_TOP "/palettes/";
static char *PALETTE_DIR_ADM = "/etc/dt/palettes/";
static char *DEFAULT_FILENAME = "palette.dt";

View file

@ -246,7 +246,7 @@ Widget paletteList;
Widget deleteButton;
char *defaultName;
Bool WaitSelection;
int NumOfPalettes;
int NumOfPalettes = 0;
/*+++++++++++++++++++++++++++++++++++++++*/
/* Internal Variables */