2001-05-08 Michael Snyder <msnyder@redhat.com>

* language.c (longest_local_hex_string_custom): Strlen test is
	inverted -- reverse the sense of the test.
This commit is contained in:
Michael Snyder
2001-05-08 21:19:43 +00:00
parent 8390138c6b
commit 7aedc9f8b2
2 changed files with 6 additions and 1 deletions

View File

@@ -720,7 +720,7 @@ longest_local_hex_string_custom (LONGEST num, char *width)
num_pad_chars = field_width - strlen (temp_nbr_buf); /* possibly negative */
if (strlen (local_hex_format_prefix ()) + num_len + num_pad_chars
< RESULT_BUF_LEN) /* paranoia */
>= RESULT_BUF_LEN) /* paranoia */
internal_error (__FILE__, __LINE__,
"longest_local_hex_string_custom: insufficient space to store result");