aboutsummaryrefslogtreecommitdiff
path: root/lctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'lctype.h')
-rw-r--r--lctype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lctype.h b/lctype.h
index 171bb5eb..34bc222c 100644
--- a/lctype.h
+++ b/lctype.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lctype.h,v 1.9 2011/06/23 16:00:43 roberto Exp roberto $ 2** $Id: lctype.h,v 1.10 2011/06/24 12:25:33 roberto Exp roberto $
3** 'ctype' functions for Lua 3** 'ctype' functions for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -64,7 +64,7 @@
64/* 64/*
65** this 'ltolower' only works for alphabetic characters 65** this 'ltolower' only works for alphabetic characters
66*/ 66*/
67#define ltolower(c) ((c) | 32) 67#define ltolower(c) ((c) | ('A' ^ 'a'))
68 68
69 69
70/* two more entries for 0 and -1 (EOZ) */ 70/* two more entries for 0 and -1 (EOZ) */