/* PSPP - a program for statistical analysis.
- Copyright (C) 2010, 2011, 2013 Free Software Foundation, Inc.
+ Copyright (C) 2010, 2011, 2013, 2016 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
ofs += mblen;
}
+ if (!ofs)
+ return 0;
+
if (input[ofs - 1] == '.')
ofs--;