aboutsummaryrefslogtreecommitdiff
path: root/manual/locale.texi
diff options
context:
space:
mode:
Diffstat (limited to 'manual/locale.texi')
-rw-r--r--manual/locale.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/locale.texi b/manual/locale.texi
index 6128df7..6208710 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.} */