diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/locale.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/locale.texi b/manual/locale.texi index 6128df7740..6208710121 100644 --- a/manual/locale.texi +++ b/manual/locale.texi @@ -289,7 +289,7 @@ with_other_locale (char *new_locale, /* @r{Copy the name so it won't be clobbered by @code{setlocale}.} */ saved_locale = strdup (old_locale); - if (old_locale == NULL) + if (saved_locale == NULL) fatal ("Out of memory"); /* @r{Now change the locale and do some stuff with it.} */ |