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/ListFontsReply.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/ListFontsReply.cpp')
-rw-r--r-- | nxcomp/src/ListFontsReply.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nxcomp/src/ListFontsReply.cpp b/nxcomp/src/ListFontsReply.cpp index 16be522a1..c3305e5ac 100644 --- a/nxcomp/src/ListFontsReply.cpp +++ b/nxcomp/src/ListFontsReply.cpp @@ -107,7 +107,7 @@ int ListFontsReplyStore::parseIdentity(Message *message, const unsigned char *bu { unsigned int current; unsigned int length; - unsigned int nstringInNames; + unsigned int nstringInNames; unsigned char *end = NULL; unsigned char *pad = NULL; @@ -128,7 +128,7 @@ int ListFontsReplyStore::parseIdentity(Message *message, const unsigned char *bu length = LISTFONTSREPLY_DATA_OFFSET; - for (nstringInNames = 0; + for (nstringInNames = 0; nstringInNames < listFontsReply -> number_of_names && listFontsReply -> number_of_names > 0; nstringInNames++) @@ -146,7 +146,7 @@ int ListFontsReplyStore::parseIdentity(Message *message, const unsigned char *bu << current << "\n" << logofs_flush; #endif } - + #ifdef DUMP *logofs << "\nFinal length " << length << "\n" << logofs_flush; #endif |