1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

Fixed bug with /alias and arguments (like $1), now text after argument(s) is used (bug #17944)

This commit is contained in:
Sebastien Helleu
2006-10-09 14:55:35 +00:00
parent c12b23382e
commit 9753571988
4 changed files with 12 additions and 2 deletions
+3 -1
View File
@@ -1,10 +1,12 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2006-10-08
ChangeLog - 2006-10-09
Version 0.2.2 (under dev!):
* fixed bug with /alias and arguments (like $1), now text after
argument(s) is used (bug #17944)
* fixed minor display bug with special chars on some arch like PPC
Version 0.2.1 (2006-10-01):
+3
View File
@@ -275,6 +275,9 @@ alias_replace_args (char *alias_args, char *user_args)
pos++;
}
}
if (start < pos)
alias_add_word (&res, &length_res, start);
if (argv)
free_exploded_string (argv);
return res;
+3 -1
View File
@@ -1,10 +1,12 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2006-10-08
ChangeLog - 2006-10-09
Version 0.2.2 (under dev!):
* fixed bug with /alias and arguments (like $1), now text after
argument(s) is used (bug #17944)
* fixed minor display bug with special chars on some arch like PPC
Version 0.2.1 (2006-10-01):
+3
View File
@@ -275,6 +275,9 @@ alias_replace_args (char *alias_args, char *user_args)
pos++;
}
}
if (start < pos)
alias_add_word (&res, &length_res, start);
if (argv)
free_exploded_string (argv);
return res;