about summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/linereader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
index 8da5c5330f..6692164b60 100644
--- a/locale/programs/linereader.c
+++ b/locale/programs/linereader.c
@@ -317,7 +317,7 @@ get_toplvl_escape (struct linereader *lr)
       if (base != 16 && isdigit (ch))
 	{
 	  byte *= base;
-	  base += ch - '0';
+	  byte += ch - '0';
 
 	  ch = lr_getc (lr);
 	}