diff options
author | Timo Sirainen <cras@irssi.org> | 2001-09-20 16:44:22 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-09-20 16:44:22 +0000 |
commit | 82ce76100cd16038b08f8caef7a0db28085d6f1c (patch) | |
tree | 2fad3ec76155325042f20a7aae717375009fb908 /src | |
parent | 1b42f89ccbdfb7603012c677b742290c7c3f3c6f (diff) | |
download | irssi-82ce76100cd16038b08f8caef7a0db28085d6f1c.zip |
s/PARAM_FLAGS_ONLY_PARAMS/PARAM_FLAG_ONLY_ARGS/ since they're called
arguments everywhere :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1804 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/core/special-vars.c | 2 | ||||
-rw-r--r-- | src/core/special-vars.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/special-vars.c b/src/core/special-vars.c index ffb57267..19a0b1b2 100644 --- a/src/core/special-vars.c +++ b/src/core/special-vars.c @@ -205,7 +205,7 @@ static char *get_special_value(char **cmd, SERVER_REC *server, void *item, char command, *value, *p; int len; - if ((flags & PARSE_FLAG_ONLY_PARAMS) && !isarg(**cmd)) { + if ((flags & PARSE_FLAG_ONLY_ARGS) && !isarg(**cmd)) { *free_ret = TRUE; return g_strdup_printf("$%c", **cmd); } diff --git a/src/core/special-vars.h b/src/core/special-vars.h index d5ba0700..c27a50a8 100644 --- a/src/core/special-vars.h +++ b/src/core/special-vars.h @@ -7,7 +7,7 @@ #define PARSE_FLAG_ISSET_ANY 0x02 /* arg_used field specifies that at least one of the $variables was non-empty */ #define PARSE_FLAG_ESCAPE_VARS 0x04 /* if any arguments/variables contain % chars, escape them with another % */ #define PARSE_FLAG_ESCAPE_THEME 0x08 /* if any arguments/variables contain { or } chars, escape them with % */ -#define PARSE_FLAG_ONLY_PARAMS 0x10 /* expand only arguments ($0 $1 etc.) but no other $variables */ +#define PARSE_FLAG_ONLY_ARGS 0x10 /* expand only arguments ($0 $1 etc.) but no other $variables */ typedef char* (*SPECIAL_HISTORY_FUNC) (const char *text, void *item, int *free_ret); |