diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-04-27 14:23:39 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-04-27 14:23:39 +0200 |
commit | 9b94209f53782ecaf7084722ce90836573ceb86b (patch) | |
tree | 42354553aeeb29d9490a3120f0c5cd687cbad370 /nxcomp/src/PolyText16.cpp | |
parent | 91d9218c0cc659f40918af6ac6c035c6c48d2c6d (diff) | |
parent | 16f6803f1597788b3bebcfa15e8900d8420b54a4 (diff) | |
download | nx-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/PolyText16.cpp')
-rw-r--r-- | nxcomp/src/PolyText16.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nxcomp/src/PolyText16.cpp b/nxcomp/src/PolyText16.cpp index 32be45482..7217edb34 100644 --- a/nxcomp/src/PolyText16.cpp +++ b/nxcomp/src/PolyText16.cpp @@ -57,7 +57,7 @@ int PolyText16Store::parseIdentity(Message *message, const unsigned char *buffer // Here is the fingerprint. // - polyText16 -> drawable = GetULONG(buffer + 4, bigEndian); + polyText16 -> drawable = GetULONG(buffer + 4, bigEndian); polyText16 -> gcontext = GetULONG(buffer + 8, bigEndian); polyText16 -> x = GetUINT(buffer + 12, bigEndian); @@ -81,10 +81,10 @@ int PolyText16Store::parseIdentity(Message *message, const unsigned char *buffer int length; int delta; int item; - + unsigned int nitem; - unsigned char *pad = NULL; + unsigned char *pad = NULL; unsigned char *end = NULL; delta = 1; @@ -194,9 +194,9 @@ void PolyText16Store::dumpIdentity(const Message *message) const PolyText16Message *polyText16 = (PolyText16Message *) message; - *logofs << name() << ": Identity drawable " << polyText16 -> drawable - << ", gcontext " << polyText16 -> gcontext << ", x " << polyText16 -> x - << ", y " << polyText16 -> y << ", size " << polyText16 -> size_ + *logofs << name() << ": Identity drawable " << polyText16 -> drawable + << ", gcontext " << polyText16 -> gcontext << ", x " << polyText16 -> x + << ", y " << polyText16 -> y << ", size " << polyText16 -> size_ << ".\n"; #endif |