diff options
author | Pascal Obry <obry@adacore.com> | 2021-09-16 16:23:07 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-05 08:20:04 +0000 |
commit | b2b2fe2d679dec37e30b86c73fefa9d7e920f4ca (patch) | |
tree | df5aa43bcdc267ae1205d821ed883ca0adeef8cc /gcc | |
parent | 8c77e8b09ef271c10f89161591e8eb162c579f4b (diff) | |
download | gcc-b2b2fe2d679dec37e30b86c73fefa9d7e920f4ca.zip gcc-b2b2fe2d679dec37e30b86c73fefa9d7e920f4ca.tar.gz gcc-b2b2fe2d679dec37e30b86c73fefa9d7e920f4ca.tar.bz2 |
[Ada] Minor code clean-up
gcc/ada/
* libgnat/g-forstr.adb (Get_Formatted): Minor code clean-up.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/libgnat/g-forstr.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/libgnat/g-forstr.adb b/gcc/ada/libgnat/g-forstr.adb index 64c4cb6..71d17f1 100644 --- a/gcc/ada/libgnat/g-forstr.adb +++ b/gcc/ada/libgnat/g-forstr.adb @@ -420,7 +420,7 @@ package body GNAT.Formatted_String is -- Zero padding if required and possible - if F_Spec.Left_Justify = False + if not F_Spec.Left_Justify and then F_Spec.Zero_Pad and then F_Spec.Width > Len + Value'First - S then |