~darkxst/ubuntu/raring/xorg-server/lp1073724

« back to all changes in this revision

Viewing changes to Xext/xres.c

  • Committer: Package Import Robot
  • Author(s): Cyril Brulebois
  • Date: 2011-12-20 11:39:51 UTC
  • mto: (0.10.23) (1.1.48)
  • mto: This revision was merged to the branch mainline in revision 244.
  • Revision ID: package-import@ubuntu.com-20111220113951-cx9svdcnqpcta5wk
Tags: upstream-1.11.99.2
ImportĀ upstreamĀ versionĀ 1.11.99.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
 
148
148
    if(num_types) {
149
149
        xXResType scratch;
150
 
        char *name;
 
150
        const char *name;
151
151
 
152
152
        for(i = 0; i < lastResourceType; i++) {
153
153
            if(!counts[i]) continue;
154
154
 
155
 
            name = (char *)LookupResourceName(i + 1);
 
155
            name = LookupResourceName(i + 1);
156
156
            if (strcmp(name, XREGISTRY_UNKNOWN))
157
157
                scratch.resource_type = MakeAtom(name, strlen(name), TRUE);
158
158
            else {