emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list-colors-display shows only one color


From: Richard Stallman
Subject: Re: list-colors-display shows only one color
Date: Wed, 13 Feb 2002 08:39:00 -0700 (MST)

    On x-display-color-cells:

    >   if (cap < 0)
    >      cap = 1 << (dpyinfo->n_planes * dpyinfo->n_cbits);


    At this moment dpyinfo->n_planes == 1 and dpyinfo->n_cbits == 32.

It is an error to use the C shift operator with those arguments.
So this code clearly is one bug, and needs to be fixed.
Maybe that fix will solve the problem you are encountering.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]