Index: trunk/src/event.h =================================================================== --- trunk/src/event.h (revision 5896) +++ trunk/src/event.h (revision 5897) @@ -44,7 +44,7 @@ PCB_EVENT_RUBBER_RESET, /* rubber band: reset attached */ PCB_EVENT_RUBBER_REMOVE_ELEMENT, /* rubber band: removed an element with rubber bands attached */ PCB_EVENT_RUBBER_MOVE, /* rubber band: object moved */ - PCB_EVENT_RUBBER_MOVE_DRAW, /* rubber band: draw crosshiar-attached rubber band objects after a move or copy */ + PCB_EVENT_RUBBER_MOVE_DRAW, /* rubber band: draw crosshair-attached rubber band objects after a move or copy */ PCB_EVENT_RUBBER_ROTATE90, /* rubber band: crosshair object rotated by 90 degrees */ PCB_EVENT_RUBBER_RENAME, /* rubber band: element pin/pad got renamed */ PCB_EVENT_RUBBER_LOOKUP_LINES, /* rubber band: attach rubber banded line objects to crosshair */ Index: trunk/src/find_drc.c =================================================================== --- trunk/src/find_drc.c (revision 5896) +++ trunk/src/find_drc.c (revision 5897) @@ -125,7 +125,7 @@ /*---------------------------------------------------------------------------- - * Locate the coordinatates of offending item (thing) + * Locate the coordinates of offending item (thing) */ static void LocateError(pcb_coord_t * x, pcb_coord_t * y) { Index: trunk/src/gui_act.c =================================================================== --- trunk/src/gui_act.c (revision 5896) +++ trunk/src/gui_act.c (revision 5897) @@ -1240,7 +1240,7 @@ /* --------------------------------------------------------------------------- */ -/* This action is provided for CLI convience */ +/* This action is provided for CLI convenience */ static const char pcb_acts_FullScreen[] = "pcb_act_FullScreen(on|off|toggle)\n"; static const char pcb_acth_FullScreen[] = "Hide widgets to get edit area full screen"; Index: trunk/src/layer.h =================================================================== --- trunk/src/layer.h (revision 5896) +++ trunk/src/layer.h (revision 5897) @@ -275,7 +275,7 @@ /********* OBSOLETE functions, do not use in new code *********/ /* parses the group definition string which is a colon separated list of comma separated layer numbers (1,2,b:4,6,8,t); oldfmt is 0 or 1 - depending on PCB() or PCB[] in the fiel header. + depending on PCB() or PCB[] in the file header. OBSOLETE, do not use in new code: only the conf system and io_pcb may need this. */ Index: trunk/src/obj_line_drcenf.c =================================================================== --- trunk/src/obj_line_drcenf.c (revision 5896) +++ trunk/src/obj_line_drcenf.c (revision 5897) @@ -415,7 +415,7 @@ pcb_layergrp_id_t group, comp; pcb_line_t line; pcb_attached_line_t aline; - static pcb_point_t last_good; /* internal state of last good endpoint - we cna do thsi cheat, because... */ + static pcb_point_t last_good; /* internal state of last good endpoint - we can do this cheat, because... */ /* ... we hardwire the assumption on how a line is drawn: it starts out as a 0 long segment, which is valid: */ if ((pcb_crosshair.AttachedLine.Point1.X == pcb_crosshair.X) && (pcb_crosshair.AttachedLine.Point1.Y == pcb_crosshair.Y)) { Index: trunk/src/obj_pinvia_therm.c =================================================================== --- trunk/src/obj_pinvia_therm.c (revision 5896) +++ trunk/src/obj_pinvia_therm.c (revision 5897) @@ -381,7 +381,7 @@ /* fix me needs error checking */ if (style == 2) { /* t is the theoretically required length, but we use twice that - * to avoid descritisation errors in our circle approximation. + * to avoid discretisation errors in our circle approximation. */ pa = pcb_poly_from_rect(pin->X - t * 2, pin->X + t * 2, pin->Y - w, pin->Y + w); pcb_polyarea_boolean_free(m, pa, &arc, PCB_PBO_SUB); @@ -389,7 +389,7 @@ } else { /* t is the theoretically required length, but we use twice that - * to avoid descritisation errors in our circle approximation. + * to avoid discretisation errors in our circle approximation. */ pa = diag_line(pin->X, pin->Y, t * 2, w, pcb_true); pcb_polyarea_boolean_free(m, pa, &arc, PCB_PBO_SUB); Index: trunk/src/pcb-printf.h =================================================================== --- trunk/src/pcb-printf.h (revision 5896) +++ trunk/src/pcb-printf.h (revision 5897) @@ -118,7 +118,7 @@ function needs to recognize the directive at **input (pointing to the byte after the %) and append the substitution to s and increase *input to point beyond the format directive. The callback returns 0 on success or -1 - on unknown directive (whcih will be copied verbatim). %% will always + on unknown directive (which will be copied verbatim). %% will always be translated into a single %, without calling cb. */ char *pcb_strdup_subst(const char *template, int (*cb)(void *ctx, gds_t *s, const char **input), void *ctx); Index: trunk/src/plug_io.h =================================================================== --- trunk/src/plug_io.h (revision 5896) +++ trunk/src/plug_io.h (revision 5897) @@ -57,7 +57,7 @@ /* Test if the given board is readable by the plugin. The plugin should return 1 if it can handle the file or 0 if it can not. This check is not a deep - synatx analysis; the plugin should read barely enough headers to decide if + syntax analysis; the plugin should read barely enough headers to decide if the file contains a the format it expect, then return error from parse_pcb if there are syntax errors later. The file is open for read and positioned to file begin in f */ Index: trunk/src/polygon.c =================================================================== --- trunk/src/polygon.c (revision 5896) +++ trunk/src/polygon.c (revision 5897) @@ -57,7 +57,7 @@ The polygon dicer (NoHolesPolygonDicer and r_NoHolesPolygonDicer) emits a series of "simple" pcb_pline_t shapes. That is, the pcb_pline_t isn't -linked to any other "holes" oulines). That's the meaning of the first +linked to any other "holes" outlines). That's the meaning of the first test in r_NoHolesPolygonDicer. It is testing to see if the pcb_pline_t contour (the first, making it a solid outline) has a valid next pointer (which would point to one or more holes). The dicer works by Index: trunk/src/rtree.h =================================================================== --- trunk/src/rtree.h (revision 5896) +++ trunk/src/rtree.h (revision 5897) @@ -66,7 +66,7 @@ * The search will find all rectangles matching the criteria given * by region_in_search and rectangle_in_region and return a count of * how many things rectangle_in_region returned pcb_true for. closure is - * used to abort the search if desired from within rectangel_in_region + * used to abort the search if desired from within rectangle_in_region * Look at the implementation of r_region_is_empty for how to * abort the search if that is the desired behavior. */ Index: trunk/src/search.c =================================================================== --- trunk/src/search.c (revision 5896) +++ trunk/src/search.c (revision 5897) @@ -987,7 +987,7 @@ /* Check point is outside arc range, check distance from endpoints Need to check p_ang+360 too, because after the angle swaps above ang2 - mght be larger than 360 and that section of the arc shouldn't be missed + might be larger than 360 and that section of the arc shouldn't be missed either. */ if (!angle_in_range(ang1, ang2, p_ang) && !angle_in_range(ang1, ang2, p_ang+360)) { pcb_coord_t ArcX, ArcY;