aboutsummaryrefslogtreecommitdiffstats
path: root/src/files_map.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/files_map.adb')
-rw-r--r--src/files_map.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files_map.adb b/src/files_map.adb
index a86809b01..1d9a5c7b8 100644
--- a/src/files_map.adb
+++ b/src/files_map.adb
@@ -544,7 +544,7 @@ package body Files_Map is
P := Filename'Last;
E := Ext'Last;
loop
- if P >= Filename'First
+ if P <= Filename'First
or else E < Ext'First
then
return Language_Unknown;