Skip to content

Commit cdecf6e

Browse files
committed
use "--" for dash, not "---"
markdown uses "--" for a long dash, not "---".
1 parent d71e242 commit cdecf6e

38 files changed

+55
-55
lines changed

libvips/arithmetic/boolean.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* boolean.c --- various bit operations
1+
/* boolean.c -- various bit operations
22
*
33
* Modified:
44
* 15/12/94 JC

libvips/arithmetic/math.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* VipsMath --- call various -lm functions (trig, log etc.) on images
1+
/* VipsMath -- call various -lm functions (trig, log etc.) on images
22
*
33
* Copyright: 1990, N. Dessipris, based on im_powtra()
44
* Author: Nicos Dessipris

libvips/arithmetic/math2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* math2.c --- 2ary math funcs
1+
/* math2.c -- 2ary math funcs
22
*
33
* Copyright: 1990, N. Dessipris
44
*

libvips/arithmetic/relational.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* relational.c --- various relational operations
1+
/* relational.c -- various relational operations
22
*
33
* Modified:
44
* 26/7/93 JC

libvips/arithmetic/round.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* round.c --- various rounding operations
1+
/* round.c -- various rounding operations
22
*
33
* 20/6/02 JC
44
* - adapted from im_abs()

libvips/arithmetic/stats.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
31/8/93 JC
1515
- forgot to init global max/min properly! sorry.
1616
21/6/95 JC
17-
- still did not init max and min correctly --- now fixed for good
17+
- still did not init max and min correctly -- now fixed for good
1818
1919
* 13/1/05
2020
* - use 64 bit arithmetic

libvips/conversion/bandbool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* bandbool.c --- bool op across image bands
1+
/* bandbool.c -- bool op across image bands
22
*
33
* 7/12/12
44
* - from boolean.c

libvips/conversion/conversion.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,19 +259,19 @@
259259
* When the edges of an image are extended, you can specify
260260
* how you want the extension done.
261261
*
262-
* [enum@Vips.Extend.BLACK] --- new pixels are black, ie. all bits are zero.
262+
* [enum@Vips.Extend.BLACK] -- new pixels are black, ie. all bits are zero.
263263
*
264-
* [enum@Vips.Extend.COPY] --- each new pixel takes the value of the nearest edge
264+
* [enum@Vips.Extend.COPY] -- each new pixel takes the value of the nearest edge
265265
* pixel
266266
*
267-
* [enum@Vips.Extend.REPEAT] --- the image is tiled to fill the new area
267+
* [enum@Vips.Extend.REPEAT] -- the image is tiled to fill the new area
268268
*
269-
* [enum@Vips.Extend.MIRROR] --- the image is reflected and tiled to reduce hash
269+
* [enum@Vips.Extend.MIRROR] -- the image is reflected and tiled to reduce hash
270270
* edges
271271
*
272-
* [enum@Vips.Extend.WHITE] --- new pixels are white, ie. all bits are set
272+
* [enum@Vips.Extend.WHITE] -- new pixels are white, ie. all bits are set
273273
*
274-
* [enum@Vips.Extend.BACKGROUND] --- colour set from the @background property
274+
* [enum@Vips.Extend.BACKGROUND] -- colour set from the @background property
275275
*
276276
* We have to specify the exact value of each enum member since we have to
277277
* keep these frozen for back compat with vips7.

libvips/conversion/ifthenelse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* ifthenelse.c --- use a condition image to join two images together
1+
/* ifthenelse.c -- use a condition image to join two images together
22
*
33
* Modified:
44
* 9/2/95 JC

libvips/conversion/insert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ vips__insert_just_one(VipsRegion *out_region, VipsRegion *ir, int x, int y)
139139
return 0;
140140
}
141141

142-
/* Paste in parts of ir that fall within out_region --- ir is an input REGION
142+
/* Paste in parts of ir that fall within out_region -- ir is an input REGION
143143
* for an image positioned at pos within out_region.
144144
*
145145
* Also used by vips_arrayjoin.

libvips/convolution/conva.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ vips_conva_horizontal(VipsConva *conva, VipsImage *in, VipsImage **out)
983983
{
984984
VipsObjectClass *class = VIPS_OBJECT_GET_CLASS(conva);
985985

986-
/* Prepare output. Consider a 7x7 mask and a 7x7 image --- the output
986+
/* Prepare output. Consider a 7x7 mask and a 7x7 image -- the output
987987
* would be 1x1.
988988
*/
989989
*out = vips_image_new();
@@ -1233,7 +1233,7 @@ vips_conva_vertical(VipsConva *conva, VipsImage *in, VipsImage **out)
12331233
VipsObjectClass *class = VIPS_OBJECT_GET_CLASS(conva);
12341234
VipsConvolution *convolution = (VipsConvolution *) conva;
12351235

1236-
/* Prepare output. Consider a 7x7 mask and a 7x7 image --- the output
1236+
/* Prepare output. Consider a 7x7 mask and a 7x7 image -- the output
12371237
* would be 1x1.
12381238
*/
12391239
*out = vips_image_new();

libvips/convolution/convf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ vips_convf_build(VipsObject *object)
347347
convolution->out->Xoffset = 0;
348348
convolution->out->Yoffset = 0;
349349

350-
/* Prepare output. Consider a 7x7 mask and a 7x7 image --- the output
350+
/* Prepare output. Consider a 7x7 mask and a 7x7 image -- the output
351351
* would be 1x1.
352352
*/
353353
if (vips_band_format_isint(in->BandFmt))

libvips/convolution/convi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ vips_convi_build(VipsObject *object)
12131213
convolution->out->Xoffset = 0;
12141214
convolution->out->Yoffset = 0;
12151215

1216-
/* Prepare output. Consider a 7x7 mask and a 7x7 image --- the output
1216+
/* Prepare output. Consider a 7x7 mask and a 7x7 image -- the output
12171217
* would be 1x1.
12181218
*/
12191219
convolution->out->Xsize -= M->Xsize - 1;

libvips/create/mask_butterworth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ vips_mask_butterworth_init(VipsMaskButterworth *butterworth)
133133
* range 0 - 1.
134134
*
135135
* The shape of the curve is controlled by
136-
* @order --- higher values give a sharper transition. See Gonzalez and Wintz,
136+
* @order -- higher values give a sharper transition. See Gonzalez and Wintz,
137137
* Digital Image Processing, 1987.
138138
*
139139
* ::: tip "Optional arguments"

libvips/create/mask_butterworth_band.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ vips_mask_butterworth_band_init(
175175
* @frequency_cutoff_y, of radius @radius.
176176
*
177177
* The shape of the curve is controlled by
178-
* @order --- higher values give a sharper transition. See Gonzalez and Wintz,
178+
* @order -- higher values give a sharper transition. See Gonzalez and Wintz,
179179
* Digital Image Processing, 1987.
180180
*
181181
* ::: tip "Optional arguments"

libvips/create/mask_butterworth_ring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ vips_mask_butterworth_ring_init(
135135
* in the range 0 - 1.
136136
*
137137
* The shape of the curve is controlled by
138-
* @order --- higher values give a sharper transition. See Gonzalez and Wintz,
138+
* @order -- higher values give a sharper transition. See Gonzalez and Wintz,
139139
* Digital Image Processing, 1987.
140140
*
141141
* ::: tip "Optional arguments"

libvips/deprecated/im_vips2dz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ im_vips2dz(IMAGE *in, const char *filename)
6363
gboolean centre = FALSE;
6464
VipsAngle angle = VIPS_ANGLE_D0;
6565

66-
/* We can't use im_filename_split() --- it assumes that we have a
66+
/* We can't use im_filename_split() -- it assumes that we have a
6767
* filename with an extension before the ':', and filename here is
6868
* actually a dirname.
6969
*

libvips/deprecated/rename.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* rename.c --- wrappers for various renamed functions
1+
/* rename.c -- wrappers for various renamed functions
22
*
33
* 20/9/09
44
*/
@@ -467,7 +467,7 @@ vips_rawsave_fd(VipsImage *in, int fd, ...)
467467
va_list ap;
468468
int result;
469469
VipsTarget *target;
470-
470+
471471
if (!(target = vips_target_new_to_descriptor(fd)))
472472
return -1;
473473

libvips/deprecated/vips7compat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ im_wrapmany(IMAGE **in, IMAGE *out, im_wrapmany_fn fn, void *a, void *b)
765765
bun->a = a;
766766
bun->b = b;
767767

768-
/* Check descriptors --- make sure that our caller has done this
768+
/* Check descriptors -- make sure that our caller has done this
769769
* correctly.
770770
*/
771771
for (i = 0; i < n; i++) {

libvips/foreign/cgifsave.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ vips_foreign_save_cgif_pick_quantiser(VipsForeignSaveCgif *cgif,
499499
return 0;
500500
}
501501

502-
/* We have a complete frame --- write!
502+
/* We have a complete frame -- write!
503503
*/
504504
static int
505505
vips_foreign_save_cgif_write_frame(VipsForeignSaveCgif *cgif)

libvips/foreign/foreign.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2693,16 +2693,16 @@ vips_jxlsave_target(VipsImage *in, VipsTarget *target, ...)
26932693
*
26942694
* Render a PDF file into a VIPS image.
26952695
*
2696-
* The output image is always RGBA --- CMYK PDFs will be
2696+
* The output image is always RGBA -- CMYK PDFs will be
26972697
* converted. If you need CMYK bitmaps, you should use [ctor@Image.magickload]
26982698
* instead.
26992699
*
27002700
* Use @page to select a page to render, numbering from zero.
27012701
*
27022702
* Use @n to select the number of pages to render. The default is 1. Pages are
27032703
* rendered in a vertical column, with each individual page aligned to the
2704-
* left. Set to -1 to mean "until the end of the document". Use [method@Image.grid]
2705-
* to change page layout.
2704+
* left. Set to -1 to mean "until the end of the document". Use
2705+
* [method@Image.grid] to change page layout.
27062706
*
27072707
* Use @dpi to set the rendering resolution. The default is 72. Additionally,
27082708
* you can scale by setting @scale. If you set both, they combine.

libvips/foreign/jpeg2vips.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ source_init_source(j_decompress_ptr cinfo)
230230
*/
231231
}
232232

233-
/* Fill the input buffer --- called whenever buffer is emptied.
233+
/* Fill the input buffer -- called whenever buffer is emptied.
234234
*/
235235
static boolean
236236
source_fill_input_buffer(j_decompress_ptr cinfo)

libvips/foreign/magick.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
#if defined(HAVE_MAGICK6) || defined(HAVE_MAGICK7)
5454

55-
/* Imagemagick has weak support for some formats --- for example, AVI is
55+
/* Imagemagick has weak support for some formats -- for example, AVI is
5656
* delegated to ffmpeg, and just getting the header can take many seconds and
5757
* many GB of memory.
5858
*

libvips/foreign/svgload.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ vips_foreign_load_svg_get_scaled_size(VipsForeignLoadSvg *svg,
526526
if (vips_foreign_load_svg_get_natural_size(svg, &width, &height))
527527
return -1;
528528

529-
/* We scale up with cairo --- scaling with rsvg_handle_set_dpi() will
529+
/* We scale up with cairo -- scaling with rsvg_handle_set_dpi() will
530530
* fail for SVGs with absolute sizes.
531531
*/
532532
svg->cairo_scale = svg->scale * svg->dpi / 72.0;

libvips/foreign/tiff2vips.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,7 +2000,7 @@ rtiff_decompress_jpeg_fill_input_buffer(j_decompress_ptr cinfo)
20002000
return TRUE;
20012001
}
20022002

2003-
/* Skip data --- used to skip over a potentially large amount of
2003+
/* Skip data -- used to skip over a potentially large amount of
20042004
* uninteresting data (such as an APPn marker).
20052005
*
20062006
* Writers of suspendable-input applications must note that skip_input_data
@@ -2018,7 +2018,7 @@ rtiff_decompress_jpeg_skip_input_data(j_decompress_ptr cinfo, long num_bytes)
20182018

20192019
/* Just a dumb implementation for now. Could use fseek() except
20202020
* it doesn't work on pipes. Not clear that being smart is worth
2021-
* any trouble anyway --- large skips are infrequent.
2021+
* any trouble anyway -- large skips are infrequent.
20222022
*/
20232023
if (num_bytes > 0) {
20242024
while (num_bytes > (long) src->bytes_in_buffer) {

libvips/foreign/webpsave.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ vips_foreign_save_webp_get_delay(VipsForeignSaveWebp *webp, int page_number)
312312
return delay <= 10 ? 100 : delay;
313313
}
314314

315-
/* We have a complete frame --- write!
315+
/* We have a complete frame -- write!
316316
*/
317317
static int
318318
vips_foreign_save_webp_write_frame(VipsForeignSaveWebp *webp)

libvips/histogram/hist_local.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ vips_hist_local_generate(VipsRegion *out_region,
257257
q[b] = 255 * sum /
258258
(local->width * local->height);
259259

260-
/* Adapt histogram --- remove the pels from
260+
/* Adapt histogram -- remove the pels from
261261
* the left hand column, add in pels for a
262262
* new right-hand column.
263263
*/

libvips/iofuncs/error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* error.c --- error message handling
1+
/* error.c -- error message handling
22
*
33
* Copyright: N. Dessipris
44
* Written on: 18/03/1991

libvips/iofuncs/gate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* gate.c --- thread profiling
1+
/* gate.c -- thread profiling
22
*
33
* Written on: 18 nov 13
44
*/
@@ -205,7 +205,7 @@ thread_profile_destroy_notify(gpointer data)
205205
* been called.
206206
*/
207207
if (vips__thread_profile)
208-
g_warning("discarding unsaved state for thread %p --- "
208+
g_warning("discarding unsaved state for thread %p -- "
209209
"call vips_thread_shutdown() for this thread",
210210
profile->thread);
211211

libvips/iofuncs/generate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ vips_start_many(VipsImage *out, void *a, void *b)
535535
* @out: free array when this image closes
536536
* @...: `NULL`-terminated list of input images
537537
*
538-
* Convenience function --- make a `NULL`-terminated array of input images.
538+
* Convenience function -- make a `NULL`-terminated array of input images.
539539
* Use with [func@start_many].
540540
*
541541
* ::: seealso

libvips/iofuncs/image.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,7 @@ vips_image_new_from_memory(const void *data, size_t size,
20612061

20622062
if (size < VIPS_IMAGE_SIZEOF_IMAGE(image)) {
20632063
vips_error("VipsImage",
2064-
_("memory area too small --- "
2064+
_("memory area too small -- "
20652065
"should be %" G_GINT64_FORMAT " bytes, you passed %zd"),
20662066
VIPS_IMAGE_SIZEOF_IMAGE(image), size);
20672067
VIPS_UNREF(image);
@@ -2366,7 +2366,7 @@ vips_image_new_matrix_from_array(int width, int height,
23662366

23672367
if (size != width * height) {
23682368
vips_error("VipsImage",
2369-
_("bad array length --- should be %d, you passed %d"),
2369+
_("bad array length -- should be %d, you passed %d"),
23702370
width * height, size);
23712371
return NULL;
23722372
}
@@ -2890,9 +2890,9 @@ vips_image_write_to_memory(VipsImage *in, size_t *size_out)
28902890
size = VIPS_IMAGE_SIZEOF_IMAGE(in);
28912891
if (!(buf = g_try_malloc(size))) {
28922892
vips_error("vips_image_write_to_memory",
2893-
_("out of memory --- size == %dMB"),
2893+
_("out of memory -- size == %dMB"),
28942894
(int) (size / (1024.0 * 1024.0)));
2895-
g_warning(_("out of memory --- size == %dMB"),
2895+
g_warning(_("out of memory -- size == %dMB"),
28962896
(int) (size / (1024.0 * 1024.0)));
28972897
return NULL;
28982898
}

libvips/iofuncs/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ vips_get_prgname(void)
243243
* and the threading system, if necessary
244244
*
245245
* + guesses where the VIPS data files are and sets up
246-
* internationalisation --- see [func@guess_prefix]
246+
* internationalisation -- see [func@guess_prefix]
247247
*
248248
* + creates the main vips types, including [class@Image] and friends
249249
*

libvips/iofuncs/memory.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,9 @@ vips_tracked_malloc(size_t size)
317317
#endif /*DEBUG*/
318318

319319
vips_error("vips_tracked",
320-
_("out of memory --- size == %dMB"),
320+
_("out of memory -- size == %dMB"),
321321
(int) (size / (1024.0 * 1024.0)));
322-
g_warning(_("out of memory --- size == %dMB"),
322+
g_warning(_("out of memory -- size == %dMB"),
323323
(int) (size / (1024.0 * 1024.0)));
324324

325325
return NULL;
@@ -391,9 +391,9 @@ vips_tracked_aligned_alloc(size_t size, size_t align)
391391
#endif /*DEBUG*/
392392

393393
vips_error("vips_tracked",
394-
_("out of memory --- size == %dMB"),
394+
_("out of memory -- size == %dMB"),
395395
(int) (size / (1024.0 * 1024.0)));
396-
g_warning(_("out of memory --- size == %dMB"),
396+
g_warning(_("out of memory -- size == %dMB"),
397397
(int) (size / (1024.0 * 1024.0)));
398398

399399
return NULL;

libvips/iofuncs/vips.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ vips__read_header_bytes(VipsImage *im, unsigned char *from)
372372
* pixel interpretation, don't clip them.
373373
*/
374374

375-
/* Coding values imply Bands and BandFmt settings --- make sure they
375+
/* Coding values imply Bands and BandFmt settings -- make sure they
376376
* are sane.
377377
*/
378378
switch (im->Coding) {

libvips/morphology/morph.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ vips_morph_build(VipsObject *object)
921921
VIPS_DEMAND_STYLE_SMALLTILE, in, NULL))
922922
return -1;
923923

924-
/* Prepare output. Consider a 7x7 mask and a 7x7 image --- the output
924+
/* Prepare output. Consider a 7x7 mask and a 7x7 image -- the output
925925
* would be 1x1.
926926
*/
927927
morph->out->Xsize -= M->Xsize - 1;

libvips/morphology/rank.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ vips_rank_generate_uchar(VipsRegion *out_region,
223223
}
224224
q[b] = i;
225225

226-
/* Adapt histogram --- remove the pels from
226+
/* Adapt histogram -- remove the pels from
227227
* the left hand column, add in pels for a
228228
* new right-hand column.
229229
*/

0 commit comments

Comments
 (0)