don't display an error when not using langinfo.h

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30843 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2009-05-24 16:35:17 +00:00
parent 12f1ff4387
commit 16b35692b8

View File

@ -2026,7 +2026,11 @@ decode_switches (int argc, char **argv)
/* Note we leave %5b etc. alone so user widths/flags are honored. */
if (strstr (long_time_format[0],"%b") || strstr (long_time_format[1],"%b"))
if (!abmon_init ())
#ifndef __HAIKU__
error (0, 0, _("error initializing month strings"));
#else
;
#endif
}
return optind;