File: 0100-source_typos.patch

package info (click to toggle)
libonig 6.9.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,704 kB
  • sloc: ansic: 86,035; sh: 4,565; python: 1,456; makefile: 295; cpp: 21
file content (18 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix typos
Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
Last-Update: 2016-11-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/src/regerror.c
===================================================================
--- trunk.orig/src/regerror.c
+++ trunk/src/regerror.c
@@ -63,7 +63,7 @@ onig_error_code_to_format(int code)
   case ONIGERR_UNEXPECTED_BYTECODE:
     p = "unexpected bytecode (bug)"; break;
   case ONIGERR_DEFAULT_ENCODING_IS_NOT_SETTED:
-    p = "default multibyte-encoding is not setted"; break;
+    p = "default multibyte-encoding is not set"; break;
   case ONIGERR_SPECIFIED_ENCODING_CANT_CONVERT_TO_WIDE_CHAR:
     p = "can't convert to wide-char on specified multibyte-encoding"; break;
   case ONIGERR_FAIL_TO_INITIALIZE: