summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2009-01-20 14:15:01 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-01-20 14:15:01 +0000
commitdb1b74b7f9a2cc177c14b87b535c540a9cf52edd (patch)
treea8136f081b4e3f682a5269dd6b845d212aaaed40
parent9fd6a3f3cf85d765305429c109df7263bec5df8c (diff)
downloadirssi-db1b74b7f9a2cc177c14b87b535c540a9cf52edd.zip
Fix 'defination' typo.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4996 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--docs/design.txt2
-rw-r--r--src/core/commands.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/design.txt b/docs/design.txt
index a1c371f3..3f372829 100644
--- a/docs/design.txt
+++ b/docs/design.txt
@@ -71,7 +71,7 @@
signal. Don't bother to do this unless your signal is sent (or could be
sent) several times in a second.
- See src/core/signals.h for defination of the signal function, and
+ See src/core/signals.h for definition of the signal function, and
signals.txt for a list of signals.
diff --git a/src/core/commands.c b/src/core/commands.c
index 8c038f8b..f1c86fc7 100644
--- a/src/core/commands.c
+++ b/src/core/commands.c
@@ -403,7 +403,7 @@ static void command_calc_options(COMMAND_REC *rec, const char *options)
oldopt = optlist_find(list, name);
if (oldopt != NULL) {
- /* already specified - overwrite old defination */
+ /* already specified - overwrite old definition */
g_free(oldopt->data);
oldopt->data = g_strdup(*tmp);
} else {
@@ -561,7 +561,7 @@ static int get_cmd_options(char **data, int ignore_unknown,
char *option, *arg, **optlist;
int pos;
- /* get option definations */
+ /* get option definitions */
rec = cmd == NULL ? NULL : command_find(cmd);
optlist = rec == NULL ? NULL : rec->options;