]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fix hyphens in man pages
authorNicolas FRANCOIS <nicolas.francois@centraliens.net>
Fri, 8 Oct 2004 16:15:32 +0000 (16:15 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Oct 2004 16:15:32 +0000 (16:15 +0000)
This patch converts hyphens to minus signs in the man pages (for options,
emails, or command line examples).

This patch also closes one font modifier in iecset.1.
(s/\fIfalse\fI,/\fIfalse\fP,/)

Signed-off-by: Nicolas FRANCOIS <nicolas.francois@centraliens.net>
test/midifile.3

index ae9be94c86eb8272c3e65f78581a8bb94ca4578c..3aadb6d7dc6b71fc38866cafd61e64d96f3e6676 100644 (file)
@@ -1,6 +1,6 @@
 .TH MIDIFILE 3
 .SH NAME
-mfread,mfwrite - read and write a standard MIDI file
+mfread,mfwrite \- read and write a standard MIDI file
 .SH SYNOPSIS
 \fC#include "mfread.h"
 
@@ -87,7 +87,7 @@ from within \fCmfread\fR during the process of parsing the MIDI file.
 Before calling \fCmfread\fR, the only
 requirement is that you assign a value
 to \fCMf_getc\fR - a pointer to a function that will return
-characters from the MIDI file, using -1 to indicate EOF.
+characters from the MIDI file, using \-1 to indicate EOF.
 All the rest of the function
 pointers are initialized to NULL, and the default action for each
 is to do nothing.  The following is a complete program using \fCmfread\fR
@@ -269,9 +269,9 @@ bits 14 through 0 represent the number of delta-time "ticks"
 which make up a quarter note.  If bit 15 of division is a one,
 delta-times in a file correspond to subdivisions of a second
 similar to SMPTE and MIDI time code. In this format bits
-14 through 8 contain one of four values - 24, -25, -29, or -30,
+14 through 8 contain one of four values \-24, \-25, \-29, or \-30,
 corresponding to the four standard SMPTE and MIDI time code
-frame per second formats, where -29 represents 30 drop frame.
+frame per second formats, where \-29 represents 30 drop frame.
 The second byte consisting of bits 7 through 0 corresponds
 the the resolution within a frame.  Refer the Standard MIDI Files 
 1.0 spec for more details.
@@ -305,9 +305,9 @@ int track;
        data[0] = i; /* note number */
        data[1] = 64; /* velocity */
        if(!mf_write_midi_event(480,note_on,1,data,2)) 
-          return(-1);
+          return(\-1);
        if(!mf_write_midi_event(480,note_off,1,data,2)) 
-           return(-1);
+           return(\-1);
     }
 
     return(1);