/*
- * Copyright (C) 2012
+ * Copyright (C) 2012, 2013
* Wolfgang Bumiller
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
if (!u8_analyze(_s, &st, &ln, &ch, 0x10))
ch = 0;
- if (_end)
+ else if (_end)
*_end = _s + st + ln;
return ch;
}
if (!u8_analyze(_s, &st, &ln, &ch, _maxlen))
ch = 0;
- if (_end)
+ else if (_end)
*_end = _s + st + ln;
return ch;
}