Changeset 22297
- Timestamp:
- 09/24/07 18:26:03 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
haiku/trunk/src/system/libroot/posix/locale/setlocale.c
r16571 r22297 1 1 /* 2 * Copyright 2004-200 6, Axel Dörfler, axeld@pinc-software.de. All rights reserved.2 * Copyright 2004-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 3 * Distributed under the terms of the MIT License. 4 4 */ … … 12 12 setlocale(int category, const char *locale) 13 13 { 14 if (locale == NULL )14 if (locale == NULL || !locale[0]) 15 15 return "C"; 16 16
