patch 8.2.3045: minor typos

Problem:    Minor typos.
Solution:   Fix the typos. (Christian Brabandt, closes #8441)
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 3dd887b..2539515 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -7973,7 +7973,7 @@
 
 /*
  * Set the cursor or mark position.
- * If 'charpos' is TRUE, then use the column number as a character offet.
+ * If 'charpos' is TRUE, then use the column number as a character offset.
  * Otherwise use the column number as a byte offset.
  */
     static void