1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

core: fix typos in many comments and some strings

This commit is contained in:
Sebastien Helleu
2013-03-17 12:55:20 +01:00
parent 46677c79fc
commit 149c77decd
70 changed files with 228 additions and 217 deletions
+2 -2
View File
@@ -464,7 +464,7 @@ gui_chat_display_word (struct t_gui_window *window,
length_align = gui_line_get_align (window->buffer, line, 0, 0);
if ((window->win_chat_cursor_x == 0)
&& (*lines_displayed > 0)
/* FIXME: modify arbitraty value for non aligning messages on time/nick? */
/* FIXME: modify arbitrary value for non aligning messages on time/nick? */
&& (length_align < (window->win_chat_width - 5)))
{
if (!simulate)
@@ -1108,7 +1108,7 @@ gui_chat_display_line (struct t_gui_window *window, struct t_gui_line *line,
if ((window->win_chat_cursor_x + word_length_with_spaces > gui_chat_get_real_width (window))
&& (word_length <= gui_chat_get_real_width (window) - line_align))
{
/* spaces + word too long for current line but ok for next line */
/* spaces + word too long for current line but OK for next line */
gui_chat_display_new_line (window, num_lines, count,
&lines_displayed, simulate);
/* apply styles before jumping to start of word */
+1 -1
View File
@@ -551,7 +551,7 @@ gui_key_read_cb (void *data, int fd)
{
if (accept_paste)
{
/* user is ok for pasting text, let's paste! */
/* user is OK for pasting text, let's paste! */
gui_key_paste_accept ();
}
else if (cancel_paste)
+1 -1
View File
@@ -346,7 +346,7 @@ gui_main_loop ()
while (!weechat_quit)
{
/* reload config, if SIGHUP reveived */
/* reload config, if SIGHUP received */
if (gui_reload_config)
{
gui_reload_config = 0;
+2 -2
View File
@@ -2245,7 +2245,7 @@ gui_window_set_title (const char *title)
{
printf ("\033&f0k%dD%s", (int)(strlen(title) + 1), title);
}
/* the following term supports the xterm excapes */
/* the following terminals support the xterm escape codes */
else if ((strncmp (envterm, "xterm", 5) == 0)
|| (strncmp (envterm, "rxvt", 4) == 0)
|| (strcmp (envterm, "Eterm") == 0)
@@ -2272,7 +2272,7 @@ gui_window_set_title (const char *title)
{
printf ("\033&f0k%dD%s", (int)strlen("Terminal"), "Terminal");
}
/* the following term supports the xterm excapes */
/* the following terminals support the xterm escape codes */
else if ((strncmp (envterm, "xterm", 5) == 0)
|| (strncmp (envterm, "rxvt", 4) == 0)
|| (strcmp (envterm, "Eterm") == 0)