aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-10-01 23:06:29 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-10-01 23:06:29 +0200
commitd64e797665a26dca8e05255499af2e801cd29852 (patch)
treeb58e0c4d84c6b4238f00fd951bd9fc04dc24de99
parent9696f4d5cc20d2db06e92ab0efef16eafa0e694f (diff)
downloadprofani-tty-d64e797665a26dca8e05255499af2e801cd29852.tar.gz
Fix typos in apidocs
-rw-r--r--apidocs/c/profapi.h2
-rw-r--r--apidocs/c/profhooks.h4
-rw-r--r--apidocs/python/src/plugin.py4
-rw-r--r--apidocs/python/src/prof.py2
4 files changed, 6 insertions, 6 deletions
diff --git a/apidocs/c/profapi.h b/apidocs/c/profapi.h
index 995f4522..a4d8f5bb 100644
--- a/apidocs/c/profapi.h
+++ b/apidocs/c/profapi.h
@@ -127,7 +127,7 @@ Retrieve the Jabber ID of the current room, when in a chat room window.
char* prof_get_current_muc(void);
/**
-Determine whether or not the Console window is currently focussed.
+Determine whether or not the Console window is currently focused.
@return 1 if the user is currently in the Console window, 0 otherwise.
*/
int prof_current_win_is_console(void);
diff --git a/apidocs/c/profhooks.h b/apidocs/c/profhooks.h
index 43f2d086..c789454d 100644
--- a/apidocs/c/profhooks.h
+++ b/apidocs/c/profhooks.h
@@ -208,13 +208,13 @@ Called when a presence notification is received from a contact
void prof_on_contact_presence(const char *const barejid, const char *const resource, const char *const presence, const char *const status, const int priority);
/**
-Called when a chat window is focussed
+Called when a chat window is focused
@param barejid Jabber ID of the chat window recipient
*/
void prof_on_chat_win_focus(const char *const barejid);
/**
-Called when a chat room window is focussed
+Called when a chat room window is focused
@param barejid Jabber ID of the room
*/
void prof_on_room_win_focus(const char *const barejid);
diff --git a/apidocs/python/src/plugin.py b/apidocs/python/src/plugin.py
index 913e1b94..7a375c8a 100644
--- a/apidocs/python/src/plugin.py
+++ b/apidocs/python/src/plugin.py
@@ -343,7 +343,7 @@ def prof_on_contact_presence(barejid, resource, presence, status, priority):
def prof_on_chat_win_focus(barejid):
- """Called when a chat window is focussed
+ """Called when a chat window is focused
:param barejid: Jabber ID of the chat window recipient
:type barejid: str or unicode
@@ -352,7 +352,7 @@ def prof_on_chat_win_focus(barejid):
def prof_on_room_win_focus(barejid):
- """Called when a chat room window is focussed
+ """Called when a chat room window is focused
:param barejid: Jabber ID of the room
:type barejid: str or unicode
diff --git a/apidocs/python/src/prof.py b/apidocs/python/src/prof.py
index 9821e900..64b3ab13 100644
--- a/apidocs/python/src/prof.py
+++ b/apidocs/python/src/prof.py
@@ -290,7 +290,7 @@ def get_room_nick(barejid):
def current_win_is_console():
- """Determine whether or not the Console window is currently focussed.
+ """Determine whether or not the Console window is currently focused.
:return: ``True`` if the user is currently in the Console window, ``False`` otherwise.
:rtype: boolean