aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/ImageText16.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:23:39 +0200
commit9b94209f53782ecaf7084722ce90836573ceb86b (patch)
tree42354553aeeb29d9490a3120f0c5cd687cbad370 /nxcomp/src/ImageText16.cpp
parent91d9218c0cc659f40918af6ac6c035c6c48d2c6d (diff)
parent16f6803f1597788b3bebcfa15e8900d8420b54a4 (diff)
downloadnx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.gz
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.tar.bz2
nx-libs-9b94209f53782ecaf7084722ce90836573ceb86b.zip
Merge branch 'uli42-pr/various9' into 3.6.x
Attributes GH PR #1029: https://github.com/ArcticaProject/nx-libs/pull/1029
Diffstat (limited to 'nxcomp/src/ImageText16.cpp')
-rw-r--r--nxcomp/src/ImageText16.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/nxcomp/src/ImageText16.cpp b/nxcomp/src/ImageText16.cpp
index af057635f..f0bdfaaad 100644
--- a/nxcomp/src/ImageText16.cpp
+++ b/nxcomp/src/ImageText16.cpp
@@ -57,9 +57,9 @@ int ImageText16Store::parseIdentity(Message *message, const unsigned char *buffe
// Here is the fingerprint.
//
- imageText16 -> len = *(buffer + 1);
+ imageText16 -> len = *(buffer + 1);
- imageText16 -> drawable = GetULONG(buffer + 4, bigEndian);
+ imageText16 -> drawable = GetULONG(buffer + 4, bigEndian);
imageText16 -> gcontext = GetULONG(buffer + 8, bigEndian);
imageText16 -> x = GetUINT(buffer + 12, bigEndian);
@@ -68,7 +68,7 @@ int ImageText16Store::parseIdentity(Message *message, const unsigned char *buffe
if ((int) size > dataOffset)
{
int pad = (size - dataOffset) - (imageText16 -> len * 2);
-
+
if (pad > 0)
{
CleanData((unsigned char *) buffer + size - pad, pad);
@@ -113,8 +113,8 @@ void ImageText16Store::dumpIdentity(const Message *message) const
ImageText16Message *imageText16 = (ImageText16Message *) message;
*logofs << name() << ": Identity len " << (unsigned int) imageText16 -> len
- << " drawable " << imageText16 -> drawable << ", gcontext "
- << imageText16 -> gcontext << ", x " << imageText16 -> x << ", y "
+ << " drawable " << imageText16 -> drawable << ", gcontext "
+ << imageText16 -> gcontext << ", x " << imageText16 -> x << ", y "
<< imageText16 -> y << ", size " << imageText16 -> size_ << ".\n";
#endif