code comments: Fix typos

This commit is contained in:
Liviu Chircu 2018-12-08 20:04:35 +02:00 committed by Kaian
parent 9cae52024a
commit 222fae630a
2 changed files with 4 additions and 4 deletions

View File

@ -241,7 +241,7 @@ ui_wait_for_input()
} else if (hld == KEY_PROPAGATED) {
// Destroy current panel
ui_destroy(ui);
// Try to handle this key with the previus panel
// Try to handle this key with the previous panel
ui = ui_find_by_panel(panel_below(NULL));
} else {
// Key not handled by UI nor propagated. Use default handler

View File

@ -43,7 +43,7 @@
#ifndef __SNGREP_CONFIG_H
#define __SNGREP_CONFIG_H
//! Shorter declarartion of config_option struct
//! Shorter declaration of config_option struct
typedef struct config_option option_opt_t;
//! Option types
@ -91,7 +91,7 @@ deinit_options();
/**
* @brief Read optionuration directives from file
*
* This funtion will parse passed filenames searching for configuration
* This function will parse passed filenames searching for configuration
* directives of sngrep. See documentation for a list of available
* directives and attributes
*
@ -152,7 +152,7 @@ set_alias_value(const char *address, const char *alias);
* @brief Get alias for a given address (string)
*
* @param address IP Address
* @return configured alias or address if not alias found
* @return configured alias or address if alias not found
*/
const char *
get_alias_value(const char *address);