diff options
author | Segher Boessenkool <boessen@de.ibm.com> | 2003-12-17 09:34:08 +0000 |
---|---|---|
committer | Hartmut Penner <hpenner@gcc.gnu.org> | 2003-12-17 09:34:08 +0000 |
commit | b50d9339ba76548a9f8232ba37fd78af5be54002 (patch) | |
tree | 6ff04b77f24d9f907264ba99ec7e42b64f840c31 /gcc/opts.c | |
parent | a7833d6a0b3dfec3b10bb347430cbfedf5c65c18 (diff) | |
download | gcc-b50d9339ba76548a9f8232ba37fd78af5be54002.zip gcc-b50d9339ba76548a9f8232ba37fd78af5be54002.tar.gz gcc-b50d9339ba76548a9f8232ba37fd78af5be54002.tar.bz2 |
* opts.c (wrap_help): Fix overflow.
From-SVN: r74737
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1829,7 +1829,7 @@ wrap_help (const char *help, const char *item, unsigned int item_width) len = i; else if ((help[i] == '-' || help[i] == '/') && help[i + 1] != ' ' - && ISALPHA (help[i - 1])) + && i > 0 && ISALPHA (help[i - 1])) len = i + 1; } } |