Fix fpcrtl_strappendA, which cut last char from UserPathPrefix
leading to PHYSFS_setWriteDir fail with 'File not found' error,
which led to lack of writing dir and logFile handle being nil,
which led to crash on attempt to write to (absent) log file
--- a/project_files/hwc/rtl/misc.c Wed Apr 13 20:02:14 2016 -0400
+++ b/project_files/hwc/rtl/misc.c Mon Apr 18 21:47:39 2016 +0300
@@ -78,8 +78,8 @@
{
if(s.len < MAX_ANSISTRING_LENGTH)
{
+ ++s.len;
s.s[s.len] = c;
- ++s.len;
}
return s;