From 4b896dbdd5d76d1457f67b04c0903d4210cea874 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 30 Dec 2019 05:05:58 +0000 Subject: Fix typos in comments and messages, whitespace git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3728 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- generator/pamtris/boundaries.c | 2 +- generator/pamtris/framebuffer.c | 4 ++-- generator/pbmtext.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'generator') diff --git a/generator/pamtris/boundaries.c b/generator/pamtris/boundaries.c index 7045cbc7..cfcc4c1d 100644 --- a/generator/pamtris/boundaries.c +++ b/generator/pamtris/boundaries.c @@ -120,7 +120,7 @@ gen_triangle_boundaries(Xy const xy, } if (xy._[0][1] == xy._[1][1] && xy._[1][1] == xy._[2][1]) { - /* Triangle is degenarate: its visual representation consists only of + /* Triangle is degenerate: its visual representation consists only of a horizontal straight line. */ diff --git a/generator/pamtris/framebuffer.c b/generator/pamtris/framebuffer.c index 93263c91..5665e9a4 100644 --- a/generator/pamtris/framebuffer.c +++ b/generator/pamtris/framebuffer.c @@ -164,7 +164,7 @@ realloc_image_buffer(int32_t const new_maxval, function "process_next_command", which is the only function that calls this one. - If the function suceeds, the image buffer is left in cleared state. The + If the function succeeds, the image buffer is left in cleared state. The Z-Buffer, however, is not touched at all. If the new depth is equal to the previous one, no actual reallocation is @@ -313,7 +313,7 @@ draw_span(uint32_t const base, unsigned int l; /* The following statements will only have any effect if the depth - test, performed above, has suceeded. I. e. if the depth test fails, + test, performed above, has succeeded. I. e. if the depth test fails, no changes will be made on the frame buffer; otherwise, the frame buffer will be updated with the new values. */ diff --git a/generator/pbmtext.c b/generator/pbmtext.c index 6304c7d4..ef00be27 100644 --- a/generator/pbmtext.c +++ b/generator/pbmtext.c @@ -610,7 +610,7 @@ getCharsWithinWidth(PM_WCHAR const line[], if (currentWidth > targetWidth) { if (cursor == 1) pm_error("-width value too small " - "to accomodate single character"); + "to accommodate single character"); else *charCountP = cursor - 1; } else -- cgit 1.4.1