File: 01-fix-spelling.patch

package info (click to toggle)
libg15 1.3.0~svn324-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 284 kB
  • sloc: ansic: 927; makefile: 17; sh: 6
file content (30 lines) | stat: -rw-r--r-- 1,361 bytes parent folder | download
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
From: Alexander Ponyatykh <lazyranma@gmail.com>
Date: Fri, 15 Nov 2019 02:19:01 +0300
Subject: fix spelling error

---
 libg15.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libg15.c b/libg15.c
index 31b2bd6..56df958 100644
--- a/libg15.c
+++ b/libg15.c
@@ -152,7 +152,7 @@ static usb_dev_handle * findAndOpenDevice(libg15_devices_t handled_device, int d
                 if (!devh)
                 {
                     g15_log(stderr,G15_LOG_INFO, "Error, could not open the keyboard\n");
-                    g15_log(stderr,G15_LOG_INFO, "Perhaps you dont have enough permissions to access it\n");
+                    g15_log(stderr,G15_LOG_INFO, "Perhaps you don't have enough permissions to access it\n");
                     return 0;
                 }
 
@@ -433,7 +433,7 @@ int handle_usb_errors(const char *prefix, int ret) {
         case -ETIMEDOUT:
             return G15_ERROR_READING_USB_DEVICE;  /* backward-compatibility */
             break;
-            case -ENOSPC: /* the we dont have enough bandwidth, apparently.. something has to give here.. */
+            case -ENOSPC: /* the we don't have enough bandwidth, apparently.. something has to give here.. */
                 g15_log(stderr,G15_LOG_INFO,"usb error: ENOSPC.. reducing speed\n");
                 enospc_slowdown = 1;
                 break;