File: 01-spelling-error.diff

package info (click to toggle)
manaplus 2.1.3.17-8.1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 82,208 kB
  • sloc: cpp: 249,446; xml: 7,909; sh: 4,740; pascal: 4,275; makefile: 3,254; ansic: 1,095; objc: 244; sed: 16
file content (35 lines) | stat: -rw-r--r-- 1,491 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Fix some spelling errors.

diff -Naur manaplus-1.9.3.23.orig/src/logger.cpp manaplus-1.9.3.23/src/logger.cpp
--- manaplus-1.9.3.23.orig/src/logger.cpp	2020-01-23 09:39:49.823805880 +0100
+++ manaplus-1.9.3.23/src/logger.cpp	2020-01-23 09:40:09.411680594 +0100
@@ -505,7 +505,7 @@
     if (!mReportUnimplemented)
         return;
 
-    const std::string str = strprintf("Unimplimented packet: %d (0x%x)",
+    const std::string str = strprintf("Unimplemented packet: %d (0x%x)",
         id,
         CAST_U32(id));
     DebugMessageListener::distributeEvent(str);
@@ -519,7 +519,7 @@
         return;
 
     const std::string str = strprintf(
-        "Unimplimented field value %d for packet %d (0x%x)",
+        "Unimplemented field value %d for packet %d (0x%x)",
         id2,
         id,
         CAST_U32(id));
diff -Naur manaplus-1.9.3.23.orig/src/net/eathena/vendingrecv.cpp manaplus-1.9.3.23/src/net/eathena/vendingrecv.cpp
--- manaplus-1.9.3.23.orig/src/net/eathena/vendingrecv.cpp	2020-01-23 09:39:49.855805676 +0100
+++ manaplus-1.9.3.23/src/net/eathena/vendingrecv.cpp	2020-01-23 09:40:51.659410378 +0100
@@ -128,7 +128,7 @@
     CREATEWIDGETV(mBuyDialog, BuyDialog, being, DEFAULT_CURRENCY);
     mBuyDialog->setMoney(PlayerInfo::getAttribute(Attributes::MONEY));
     if (msg.getVersion() >= 20100105)
-        msg.readInt32("vender id");
+        msg.readInt32("vendor id");
     for (int f = 0; f < count; f ++)
     {
         const int value = msg.readInt32("price");