diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-18 11:34:43 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-18 11:34:43 +0100 |
commit | 8684cbb5cc2c461e3795fba19ad7386db37cf499 (patch) | |
tree | 027d4aa55cfa710769c86c2aca838fbba3e3dbe9 /editors/vi.c | |
parent | 5b0a7f1a6e66af3f1ff4159d4eb96c30517782b8 (diff) | |
download | busybox-w32-8684cbb5cc2c461e3795fba19ad7386db37cf499.tar.gz busybox-w32-8684cbb5cc2c461e3795fba19ad7386db37cf499.tar.bz2 busybox-w32-8684cbb5cc2c461e3795fba19ad7386db37cf499.zip |
libbb: robustify isXXXX(). +39 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/vi.c')
-rw-r--r-- | editors/vi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c index 6a6722875..7d83db642 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -30,9 +30,9 @@ | |||
30 | #if ENABLE_LOCALE_SUPPORT | 30 | #if ENABLE_LOCALE_SUPPORT |
31 | 31 | ||
32 | #if ENABLE_FEATURE_VI_8BIT | 32 | #if ENABLE_FEATURE_VI_8BIT |
33 | #define Isprint(c) isprint(c) | 33 | # define Isprint(c) isprint(c) |
34 | #else | 34 | #else |
35 | #define Isprint(c) (isprint(c) && (unsigned char)(c) < 0x7f) | 35 | # define Isprint(c) (isprint(c) && (unsigned char)(c) < 0x7f) |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #else | 38 | #else |