summaryrefslogtreecommitdiff
path: root/gcc/ada/s-sopco5.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-sopco5.adb')
-rw-r--r--gcc/ada/s-sopco5.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/s-sopco5.adb b/gcc/ada/s-sopco5.adb
index 45eafd1a79c..bacae9f7aa0 100644
--- a/gcc/ada/s-sopco5.adb
+++ b/gcc/ada/s-sopco5.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2007, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -43,7 +43,7 @@ package body System.String_Ops_Concat_5 is
function Str_Concat_5 (S1, S2, S3, S4, S5 : String) return String is
begin
- if S1'Length <= 0 then
+ if S1'Length = 0 then
return S2 & S3 & S4 & S5;
else