diff options
author | scuri <scuri> | 2010-12-07 18:25:50 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-12-07 18:25:50 +0000 |
commit | 409e63e1e54af42856b5387550e3e2a479e84a99 (patch) | |
tree | e36305da9a92f6766d783bf68c4f1b10a2d7e9f0 /src | |
parent | 5ea68c05f28050068fec17d82be7ebca97feeba7 (diff) |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/x11/cdx11.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/x11/cdx11.c b/src/x11/cdx11.c index 8c59d48..705d256 100644 --- a/src/x11/cdx11.c +++ b/src/x11/cdx11.c @@ -70,7 +70,8 @@ static void update_colors(cdCtxCanvas *ctxcanvas) static int find_color(cdCtxCanvas *ctxcanvas, XColor* xc1) { int pos = 0, i; - unsigned long min_dist = ULONG_MAX, this_dist; + unsigned long min_dist = ULONG_MAX, /* just a very big value */ + this_dist; int dr, dg, db; XColor* xc2; |