diff options
Diffstat (limited to 'src/grt/grt-values.adb')
-rw-r--r-- | src/grt/grt-values.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grt/grt-values.adb b/src/grt/grt-values.adb index 3d703bc85..2454e175e 100644 --- a/src/grt/grt-values.adb +++ b/src/grt/grt-values.adb @@ -61,7 +61,7 @@ package body Grt.Values is -- Convert C to lowercase. function To_LC (C : in Character) return Character is begin - if C >= 'A' and then C <= 'Z' then + if C in 'A' .. 'Z' then return Character'Val (Character'Pos (C) + Character'Pos ('a') - Character'Pos ('A')); else |