Fix typos
authorjkrvivian <jkrvivian@gmail.com>
Tue, 16 Oct 2018 06:33:17 +0000 (14:33 +0800)
committerMichael Göhler <github@nixhub.de>
Tue, 16 Oct 2018 08:24:35 +0000 (10:24 +0200)
include/cstack.h
include/cstring.h
include/markdown.h
include/parser.h
include/url.h
include/viewer.h

index e762c90..18608f3 100644 (file)
@@ -23,8 +23,8 @@
  *
  * struct: cstack_t which defines char stack type in heap memory
  *
  *
  * struct: cstack_t which defines char stack type in heap memory
  *
- * function: cstack_init to intialize struct of type cstack_t
- * function: cstack_t->push to add one char on top if the stack
+ * function: cstack_init to initialize struct of type cstack_t
+ * function: cstack_t->push to add one char on top of the stack
  * function: cstack_t->pop to remove the top char from the stack
  * function: cstack_t->top to test if the top char is a given char
  * function: cstack_t->empty to test if the stack is empty
  * function: cstack_t->pop to remove the top char from the stack
  * function: cstack_t->top to test if the top char is a given char
  * function: cstack_t->empty to test if the stack is empty
index 1940596..f0314fb 100644 (file)
@@ -23,7 +23,7 @@
  *
  * struct: cstring_t which defines a expandable c string type in heap memory
  *
  *
  * struct: cstring_t which defines a expandable c string type in heap memory
  *
- * function: cstring_init to intialize struct of type cstring_t
+ * function: cstring_init to initialize struct of type cstring_t
  * function: cstring_t->expand to add one character to the struct
  * function: cstring_t->expand_arr to add a string to the struct
  * function: cstring_t->strip to remove a substring
  * function: cstring_t->expand to add one character to the struct
  * function: cstring_t->expand_arr to add a string to the struct
  * function: cstring_t->strip to remove a substring
index 8e33c8e..d353896 100644 (file)
@@ -21,7 +21,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  *
  *
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  *
  *
- * enum: line_bitmask which enumerates markdown formating bits
+ * enum: line_bitmask which enumerates markdown formatting bits
  *
  * struct: deck_t the root object representing a deck of slides
  * struct: slide_t a linked list element of type slide contained in a deck
  *
  * struct: deck_t the root object representing a deck of slides
  * struct: slide_t a linked list element of type slide contained in a deck
index afc736e..751afdd 100644 (file)
@@ -25,7 +25,7 @@
  *
  * function: markdown_load is the main function which reads a file handle,
  *           and initializes deck, slides and lines
  *
  * function: markdown_load is the main function which reads a file handle,
  *           and initializes deck, slides and lines
- * function: markdown_analyse which is used to identify line wide formating
+ * function: markdown_analyse which is used to identify line wide formatting
  *           rules in given line
  * function: markdown_debug to print a report of the generated data structure
  * function: adjust_line_length to calculate line length excluding markup
  *           rules in given line
  * function: markdown_debug to print a report of the generated data structure
  * function: adjust_line_length to calculate line length excluding markup
index 330e4be..34c5bc9 100644 (file)
@@ -20,7 +20,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  *
- * function: url_init to intialize a new url object
+ * function: url_init to initialize a new url object
  */
 
 typedef struct _url_t {
  */
 
 typedef struct _url_t {
index 1b2b509..2dbc266 100644 (file)
@@ -25,7 +25,7 @@
  *
  * function: ncurses_display initializes ncurses, defines colors, calculates
  *           window geometry and handles key strokes
  *
  * function: ncurses_display initializes ncurses, defines colors, calculates
  *           window geometry and handles key strokes
- * function: add_line detects inline markdown formating and prints line char
+ * function: add_line detects inline markdown formatting and prints line char
  *           by char
  * function: fade_in, fade_out implementing color fading in 256 color mode
  * function: int_length to calculate decimal length of slide count
  *           by char
  * function: fade_in, fade_out implementing color fading in 256 color mode
  * function: int_length to calculate decimal length of slide count