diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-10-09 17:13:35 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2015-10-09 17:13:35 +0200 |
commit | 9c7efb7633ba62cd80c93e83284663f805bb3031 (patch) | |
tree | a462dc1715366e72e74e45dcc24f4d3a1c241772 /libvncserver/scale.c | |
parent | 97f442ef2aa65ade6bea11e90054c57b90abbaca (diff) | |
download | libtdevnc-9c7efb7633ba62cd80c93e83284663f805bb3031.tar.gz libtdevnc-9c7efb7633ba62cd80c93e83284663f805bb3031.zip |
Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'libvncserver/scale.c')
-rw-r--r-- | libvncserver/scale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/scale.c b/libvncserver/scale.c index d11db40..3ca76dc 100644 --- a/libvncserver/scale.c +++ b/libvncserver/scale.c @@ -213,7 +213,7 @@ void rfbScaledScreenUpdateRect(rfbScreenInfoPtr screen, rfbScreenInfoPtr ptr, in case 2: pixel_value = *((unsigned short *)srcptr2); break; case 1: pixel_value = *((unsigned char *)srcptr2); break; default: - /* fixme: endianess problem? */ + /* fixme: endianness problem? */ for (z = 0; z < bytesPerPixel; z++) pixel_value += (srcptr2[z] << (8 * z)); break; @@ -240,7 +240,7 @@ void rfbScaledScreenUpdateRect(rfbScreenInfoPtr screen, rfbScreenInfoPtr ptr, in case 2: *((unsigned short *)dstptr) = (unsigned short) pixel_value; break; case 1: *((unsigned char *)dstptr) = (unsigned char) pixel_value; break; default: - /* fixme: endianess problem? */ + /* fixme: endianness problem? */ for (z = 0; z < bytesPerPixel; z++) dstptr[z]=(pixel_value >> (8 * z)) & 0xff; break; |