diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-08 22:09:39 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-08 22:09:39 +0000 |
commit | 2b007931a93ad57eddb0e794519a15a953289a31 (patch) | |
tree | 7666260c1158fa0501f3d718b7ab341c0723a944 /src/fe-text | |
parent | 2f09d9be5ae720eb3dd69f016f239d1b5a6eecad (diff) | |
download | irssi-2b007931a93ad57eddb0e794519a15a953289a31.zip |
since common.h wasn't included in this, changed i_isdigit() -> isdigit()
back with some casting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2405 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/tparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/tparm.c b/src/fe-text/tparm.c index 30c9cd0b..3f58e6f3 100644 --- a/src/fe-text/tparm.c +++ b/src/fe-text/tparm.c @@ -568,7 +568,7 @@ char *tparm(const char *str, ...) { return OOPS; i = 0; sp++; - while(i_isdigit(*sp)) + while(isdigit((int) (unsigned char) *sp)) i = 10 * i + *sp++ - '0'; if (*sp++ != '}' || pushnum(i)) return OOPS; |