patch 8.1.2243: typos in comments
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust
formatting a bit.
diff --git a/src/globals.h b/src/globals.h
index d2c1e33..2244503 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -99,7 +99,7 @@
// Array with size Rows x Columns containing zindex of popups.
EXTERN short *popup_mask INIT(= NULL);
EXTERN short *popup_mask_next INIT(= NULL);
-// Array with flags for tansparent cells of current popup.
+// Array with flags for transparent cells of current popup.
EXTERN char *popup_transparent INIT(= NULL);
// Flag set to TRUE when popup_mask needs to be updated.
@@ -393,7 +393,7 @@
* character just after the match in the last line.
*/
EXTERN int highlight_match INIT(= FALSE); // show search match pos
-EXTERN linenr_T search_match_lines; // lines of of matched string
+EXTERN linenr_T search_match_lines; // lines of matched string
EXTERN colnr_T search_match_endcol; // col nr of match end
#ifdef FEAT_SEARCH_EXTRA
EXTERN linenr_T search_first_line INIT(= 0); // for :{FIRST},{last}s/pat