~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/GetRGBCMap.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    }
70
70
 
71
71
    /*
72
 
     * See how many properties were found; if pre-ICCCM then assume 
 
72
     * See how many properties were found; if pre-ICCCM then assume
73
73
     * default visual and a kill id of 1.
74
74
     */
75
75
    if (nitems < NumPropStandardColormapElements) {
86
86
        }
87
87
    } else {
88
88
        /*
89
 
         * make sure we have an integral number of colormaps 
 
89
         * make sure we have an integral number of colormaps
90
90
         */
91
91
        ncmaps = (nitems / NumPropStandardColormapElements);
92
92
        if ((((unsigned long) ncmaps) * NumPropStandardColormapElements) !=
96
96
        }
97
97
    }
98
98
 
99
 
    
 
99
 
100
100
    /*
101
101
     * allocate array
102
102
     */