Skip to contentSkip to conversation

misc: Spelling and other fixes in comments

PATCH Superseded Stefan Weil 2 participants 3 messages Oct 11, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 misc: Spelling and other fixes in comments

* it's -> its
* Grammar fix in ui/vnc-enc-zywrle.h. In the same context
a sentence with unclear meaning which could not be fixed was removed.

---

This is an update of patch http://patchwork.ozlabs.org/patch/257416/
(Spelling fixes).

v2: Don't try to fix a strange sentence in ui/vnc-enc-zywrle.h - remove it.

 qapi-schema.json    |    2 +-
 slirp/if.c          |    2 +-
 ui/vnc-enc-zywrle.h |    4 +---
 3 files changed, 3 insertions(+), 5 deletions(-)
qapi-schema.json +1 -1
index 145eca8..ce38a3a 100644
@@ -1864,7 +1864,7 @@
 #
 # Since: 0.14.0
 #
-# Notes: This command only exists as a stop-gap.  It's use is highly
+# Notes: This command only exists as a stop-gap.  Its use is highly
 #        discouraged.  The semantics of this command are not guaranteed.
 #
 #        Known limitations:
slirp/if.c +1 -1
index 87ca8a5..fb7acf8 100644
@@ -142,7 +142,7 @@ diddit:
 
 /*
  * Send a packet
- * We choose a packet based on it's position in the output queues;
+ * We choose a packet based on its position in the output queues;
  * If there are packets on the fastq, they are sent FIFO, before
  * everything else.  Otherwise we choose the first packet from the
  * batchq and send it.  the next packet chosen will be from the session
ui/vnc-enc-zywrle.h +1 -3
index 1ff40b1..91d2616 100644
@@ -305,9 +305,7 @@ static inline void harr(int8_t *px0, int8_t *px1)
    |L1H0H1H0|L1H0H1H0|L1H0H1H0|L1H0H1H0| : level 1
 
  In this method, H/L and X0/X1 is always same position.
- This lead us to more speed and less memory.
- Of cause, the result of both method is quite same
- because it's only difference that coefficient position.
+ This leads us to more speed and less memory.
 */
 static inline void wavelet_level(int *data, int size, int l, int skip_pixel)
 {
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 11 lines · Stefan Weil

* it's -> its
* Grammar fix in ui/vnc-enc-zywrle.h. In the same context
a sentence with unclear meaning which could not be fixed was removed.

---

This is an update of patch http://patchwork.ozlabs.org/patch/257416/
(Spelling fixes).

v2: Don't try to fix a strange sentence in ui/vnc-enc-zywrle.h - remove it.

What? I thought you meant "remove that part of the change from the patch", not "remove the sentence altogether". Please leave it in place so that anybody in future who needs to try to understand this code has the maximum available amount of clues.

-- PMM

#2 lore raw

Am 11.10.2013 21:12, schrieb Peter Maydell:

Quoted 11 lines · Stefan Weil
Quoted 10 lines

* it's -> its
* Grammar fix in ui/vnc-enc-zywrle.h. In the same context
a sentence with unclear meaning which could not be fixed was removed.

---

This is an update of patch http://patchwork.ozlabs.org/patch/257416/
(Spelling fixes).

Quoted 7 lines
Quoted 1 line

v2: Don't try to fix a strange sentence in ui/vnc-enc-zywrle.h - remove it.

What? I thought you meant "remove that part of the change from the patch", not "remove the sentence altogether". Please leave it in place so that anybody in future who needs to try to understand this code has the maximum available amount of clues.

-- PMM

Well, I said "Would you agree on fixing the first line only and removing the two following lines?". Obviously it's not so easy for foreign speakers like me to find the right words. :-)

I'll send a v3.

Stefan