This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
* Fixed compilation warning.
tags/v0.99.beta14
Sam Hocevar
sam
19 years ago
parent
b355e0581d
commit
1911e368f4
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
cucul/colour.c
+ 1
- 0
cucul/colour.c
View File
@@ -42,6 +42,7 @@ static uint8_t nearest_ansi(uint16_t argb16, uint8_t def)
if(argb16 < 0x5fff) /* too transparent, return default colour */
return def;
best = def;
dist = 0xffff;
for(i = 0; i < 16; i++)
{
Write
Preview
Loading…
Cancel
Save