Patchwork manual: Fix build error in charset.texi.

login
register
mail settings
Submitter Stefan Liebler
Date April 6, 2018, 7:41 a.m.
Message ID <ee029bdc-f2ef-ccf6-ef9e-7fcc9c958266@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/26629/
State New
Headers show

Comments

Stefan Liebler - April 6, 2018, 7:41 a.m.
Hi,

Building the manual fails with:
./charset.texi:704: misplaced {
./charset.texi:704: misplaced }

This patch adds the missing @.

Okay to commit?

ChangeLog:

	* manual/charset.texi (Converting a Character): Add missing @.
Florian Weimer - April 6, 2018, 7:54 a.m.
On 04/06/2018 09:41 AM, Stefan Liebler wrote:
> Hi,
> 
> Building the manual fails with:
> ./charset.texi:704: misplaced {
> ./charset.texi:704: misplaced }
> 
> This patch adds the missing @.
> 
> Okay to commit?

Yes please.  Sorry about that.  I thought I had rendered the final version.

Florian
Stefan Liebler - April 6, 2018, 8:28 a.m.
On 04/06/2018 09:54 AM, Florian Weimer wrote:
> On 04/06/2018 09:41 AM, Stefan Liebler wrote:
>> Hi,
>>
>> Building the manual fails with:
>> ./charset.texi:704: misplaced {
>> ./charset.texi:704: misplaced }
>>
>> This patch adds the missing @.
>>
>> Okay to commit?
> 
> Yes please.  Sorry about that.  I thought I had rendered the final version.
> 
> Florian
> 
In the meantime, Andreas has already committed this typo.

Bye.
Stefan

Patch

commit 73af4fd26dd741c14455bc29471d85c532f7acb1
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date:   Fri Apr 6 09:34:24 2018 +0200

    manual: Fix build error in charset.texi.
    
    Building the manual fails with:
    ./charset.texi:704: misplaced {
    ./charset.texi:704: misplaced }
    
    This patch adds the missing @.
    
    ChangeLog:
    
            * manual/charset.texi (Converting a Character): Add missing @.

diff --git a/manual/charset.texi b/manual/charset.texi
index a63d67045f..f6a980f6cb 100644
--- a/manual/charset.texi
+++ b/manual/charset.texi
@@ -701,7 +701,7 @@  uppercase could look like this:
 In the inner loop, a single wide character is stored in @code{wc}, and
 the number of consumed bytes is stored in the variable @code{nbytes}.
 If the conversion is successful, the uppercase variant of the wide
-character is stored in the code{result} array and the pointer to the
+character is stored in the @code{result} array and the pointer to the
 input string and the number of available bytes is adjusted.  If the
 @code{mbrtowc} function returns zero, the null input byte has not been
 converted, so it must be stored explicitly in the result.