/[rdesktop]/sourceforge.net/trunk/rdesktop/xwin.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/xwin.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 33 by matty, Sat Sep 15 12:34:34 2001 UTC revision 34 by matty, Sat Sep 15 13:03:35 2001 UTC
# Line 714  ui_create_colourmap(COLOURMAP *colours) Line 714  ui_create_colourmap(COLOURMAP *colours)
714                          MAKE_XCOLOR(&xentry, entry);                          MAKE_XCOLOR(&xentry, entry);
715    
716                          if (XAllocColor(display, xcolmap, &xentry) != 0)                          if (XAllocColor(display, xcolmap, &xentry) != 0)
717                                  colour = translate_colour(xentry.pixel);                                  colour = xentry.pixel;
718                          else                          else
719                                  colour = translate_colour(white);                                  colour = white;
720    
721                          /* byte swap here to make translate_image faster */                          /* byte swap here to make translate_image faster */
722                          map[i] = translate_colour(colour);                          map[i] = translate_colour(colour);

Legend:
Removed from v.33  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26