[xchat-gnome] Bug 656371 - Minor typo fixes to comments
- From: Ritesh Khadgaray <rkhadgaray src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xchat-gnome] Bug 656371 - Minor typo fixes to comments
- Date: Sun, 21 Aug 2011 15:49:17 +0000 (UTC)
commit a93617cf857a2edfc0b4188a592d6fb49e958e8f
Author: bryce <bryce canonical com>
Date: Sun Aug 21 21:15:23 2011 +0530
Bug 656371 - Minor typo fixes to comments
src/common/servlist.c | 2 +-
src/fe-gnome/navigation-tree.c | 2 +-
src/fe-gnome/preferences-page-spellcheck.c | 2 +-
src/fe-gnome/text-entry.c | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/common/servlist.c b/src/common/servlist.c
index b38ac4f..64b2624 100644
--- a/src/common/servlist.c
+++ b/src/common/servlist.c
@@ -527,7 +527,7 @@ servlist_connect (session *sess, ircnet *net, gboolean join)
list = net->servlist;
ircserv = list->data;
- /* incase a protocol switch is added to the servlist gui */
+ /* in case a protocol switch is added to the servlist gui */
server_fill_her_up (sess->server);
if (join)
diff --git a/src/fe-gnome/navigation-tree.c b/src/fe-gnome/navigation-tree.c
index 645885b..04d6a3e 100644
--- a/src/fe-gnome/navigation-tree.c
+++ b/src/fe-gnome/navigation-tree.c
@@ -1361,7 +1361,7 @@ set_channel_autojoin (session *sess, gboolean autojoin)
if (!current && autojoin) {
/* add channel to autojoin list */
- /* FIXME: we should save the key of the channel is there is one */
+ /* FIXME: we should save the key of the channel if there is one */
if (network->autojoin == NULL) {
network->autojoin = g_strdup (sess->channel);
} else {
diff --git a/src/fe-gnome/preferences-page-spellcheck.c b/src/fe-gnome/preferences-page-spellcheck.c
index 53ca3d5..a37d768 100644
--- a/src/fe-gnome/preferences-page-spellcheck.c
+++ b/src/fe-gnome/preferences-page-spellcheck.c
@@ -92,7 +92,7 @@ language_changed (GtkCellRendererToggle *toggle, gchar *pathstr, PreferencesPage
GCONF_VALUE_STRING, languages, NULL);
if (languages == NULL) {
- /* No more languages selected: desactivate spellchecking */
+ /* No more languages selected: deactivate spellchecking */
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (page->enable_spellcheck), FALSE);
}
diff --git a/src/fe-gnome/text-entry.c b/src/fe-gnome/text-entry.c
index 2329d37..b0ae046 100644
--- a/src/fe-gnome/text-entry.c
+++ b/src/fe-gnome/text-entry.c
@@ -329,7 +329,7 @@ text_entry_tab_complete (GtkEntry *entry)
return TRUE;
}
- /* search from cusror backwards to find /, #, ' ' or start */
+ /* search from cursor backwards to find /, #, ' ' or start */
p = g_utf8_offset_to_pointer (text, cursor_pos);
while ((p = g_utf8_find_prev_char (text, p))) {
/* check if we can match a channel */
@@ -536,7 +536,7 @@ tab_complete_nickname (GtkEntry *entry, gint start)
text_entry = TEXT_ENTRY (entry);
- /* pointer arithmatic for byte size allocation */
+ /* pointer arithmetic for byte size allocation */
prefix = g_new0 (char, at_cursor - at_start + 1);
g_utf8_strncpy (prefix, at_start, cursor - start);
options = g_completion_complete_utf8 (completion, prefix, &new_prefix);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]