diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /krfb/libvncserver/tight.c | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krfb/libvncserver/tight.c')
-rw-r--r-- | krfb/libvncserver/tight.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/krfb/libvncserver/tight.c b/krfb/libvncserver/tight.c index bef8f825..9dd743ac 100644 --- a/krfb/libvncserver/tight.c +++ b/krfb/libvncserver/tight.c @@ -1239,7 +1239,7 @@ EncodeMonoRect##bpp(buf, w, h) \ { \ CARD##bpp *ptr; \ CARD##bpp bg; \ - unsigned int value, tqmask; \ + unsigned int value, mask; \ int aligned_width; \ int x, y, bg_bits; \ \ @@ -1257,27 +1257,27 @@ EncodeMonoRect##bpp(buf, w, h) \ *buf++ = 0; \ continue; \ } \ - tqmask = 0x80 >> bg_bits; \ - value = tqmask; \ + mask = 0x80 >> bg_bits; \ + value = mask; \ for (bg_bits++; bg_bits < 8; bg_bits++) { \ - tqmask >>= 1; \ + mask >>= 1; \ if (*ptr++ != bg) { \ - value |= tqmask; \ + value |= mask; \ } \ } \ *buf++ = (CARD8)value; \ } \ \ - tqmask = 0x80; \ + mask = 0x80; \ value = 0; \ if (x >= w) \ continue; \ \ for (; x < w; x++) { \ if (*ptr++ != bg) { \ - value |= tqmask; \ + value |= mask; \ } \ - tqmask >>= 1; \ + mask >>= 1; \ } \ *buf++ = (CARD8)value; \ } \ |