projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6441ea4
)
libDtHelp: Cov 89401
author
Peter Howkins
<flibble@users.sf.net>
Fri, 10 Aug 2018 23:47:42 +0000
(
00:47
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 10 Aug 2018 23:47:42 +0000
(
00:47
+0100)
cde/lib/DtHelp/il/ildither.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtHelp/il/ildither.c
b/cde/lib/DtHelp/il/ildither.c
index 89d24eb7199981cf82dfb9e5e6ef409f8124fe33..4d6cfbb74f8bc2f81d3b20061b1f7a42dc2bb30a 100644
(file)
--- a/
cde/lib/DtHelp/il/ildither.c
+++ b/
cde/lib/DtHelp/il/ildither.c
@@
-1024,7
+1024,7
@@
IL_PRIVATE ilBool _ilConvertRGBToPalette (
unsigned short *pPalette;
long *pColorTable;
ilBool diffusion, chooseColors;
- int i, shifts[3], nColors;
+ int i, shifts[3]
= { 0, 0, 0 }
, nColors;
const unsigned short *pMulTable[3] = { NULL, NULL, NULL }; /* dither other than 484 only: pMul? */
static ilConvertToPaletteInfo defaultConvert =
{IL_DIFFUSION, { 4, 8, 4 }, 8, IL_PALETTE, (ilObject)NULL};