Explorar el Código

fix breakage in nl_langinfo from previous commit

Rich Felker hace 9 años
padre
commit
58f6259dff
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/locale/langinfo.c

+ 1 - 1
src/locale/langinfo.c

@@ -33,7 +33,7 @@ char *__nl_langinfo_l(nl_item item, locale_t loc)
 	int idx = item & 65535;
 	const char *str;
 
-	if (item == CODESET) "UTF-8";
+	if (item == CODESET) return "UTF-8";
 	
 	switch (cat) {
 	case LC_NUMERIC: