diff --git a/doc/ca65.sgml b/doc/ca65.sgml
index ad72189c0..2c4593d21 100644
--- a/doc/ca65.sgml
+++ b/doc/ca65.sgml
@@ -226,7 +226,7 @@ Here is a description of all the command line options:
--large-alignment
Disable warnings about a large combined alignment. See the discussion of the
- directive for futher information.
+ directive for further information.
diff --git a/doc/ld65.sgml b/doc/ld65.sgml
index 6cdf78800..d8e296996 100644
--- a/doc/ld65.sgml
+++ b/doc/ld65.sgml
@@ -303,7 +303,7 @@ Here is a description of all of the command-line options:
--large-alignment
Disable warnings about a large combined alignment. See the discussion of the
- --lib file
diff --git a/src/ca65/segment.c b/src/ca65/segment.c
index aa9a48512..fa4e97dd0 100644
--- a/src/ca65/segment.c
+++ b/src/ca65/segment.c
@@ -306,7 +306,7 @@ void SegAlign (unsigned long Alignment, int FillVal)
ActiveSeg->Align = CombinedAlignment;
/* Output a warning for larger alignments if not suppressed */
- if (CombinedAlignment > LARGE_ALIGNMENT && !LargeAlignment) {
+ if (CombinedAlignment >= LARGE_ALIGNMENT && !LargeAlignment) {
Warning (0, "Combined alignment is suspiciously large (%lu)",
CombinedAlignment);
}
@@ -411,7 +411,7 @@ void SegDone (void)
/* We cannot evaluate the expression now, leave the job for
** the linker. However, we can check if the address size
- ** matches the fragment size. Mismatches are errors in
+ ** matches the fragment size. Mismatches are errors in
** most situations.
*/
if ((F->Len == 1 && ED.AddrSize > ADDR_SIZE_ZP) ||