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

« back to all changes in this revision

Viewing changes to src/xkb/XKBGetMap.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:
7
7
fee is hereby granted, provided that the above copyright
8
8
notice appear in all copies and that both that copyright
9
9
notice and this permission notice appear in supporting
10
 
documentation, and that the name of Silicon Graphics not be 
11
 
used in advertising or publicity pertaining to distribution 
 
10
documentation, and that the name of Silicon Graphics not be
 
11
used in advertising or publicity pertaining to distribution
12
12
of the software without specific prior written permission.
13
 
Silicon Graphics makes no representation about the suitability 
 
13
Silicon Graphics makes no representation about the suitability
14
14
of this software for any purpose. It is provided "as is"
15
15
without any express or implied warranty.
16
16
 
17
 
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 
18
 
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 
 
17
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
 
18
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
19
AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
20
 
GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 
21
 
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 
22
 
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 
 
20
GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
 
21
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 
22
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
23
23
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
24
24
THE USE OR PERFORMANCE OF THIS SOFTWARE.
25
25
 
108
108
            type->num_levels = desc->numLevels;
109
109
            type->map_count = desc->nMapEntries;
110
110
            if (desc->nMapEntries>0) {
111
 
                register xkbKTMapEntryWireDesc *wire; 
 
111
                register xkbKTMapEntryWireDesc *wire;
112
112
                register XkbKTMapEntryPtr       entry;
113
113
                register int size;
114
114
 
126
126
                }
127
127
 
128
128
                if (desc->preserve) {
129
 
                    register xkbModsWireDesc *  pwire; 
 
129
                    register xkbModsWireDesc *  pwire;
130
130
                    register XkbModsPtr         preserve;
131
131
                    register int sz;
132
132
 
519
519
xkbGetMapReply  rep;
520
520
 
521
521
    if (!_XReply(dpy, (xReply *)&rep,
522
 
                 ( (SIZEOF(xkbGetMapReply)-SIZEOF(xGenericReply)) >> 2 ), 
 
522
                 ( (SIZEOF(xkbGetMapReply)-SIZEOF(xGenericReply)) >> 2 ),
523
523
                 xFalse)) {
524
524
        return BadImplementation;
525
525
    }