90,7 → 90,7 |
p = cat(p,outbuf); |
} |
else |
p = cat(p,(char*)("(null expr)\r")); // this shouldn't happen |
p = cat(p,_strdup("(null expr)\r")); // this shouldn't happen |
*p++ = CR; |
} |
|
252,14 → 252,12 |
} |
|
FSClose(r); |
}else reasonstr = FF_GetMsg_Cpy(MSG_CANNOT_OPEN_FILE_ID); |
else reasonstr = FF_GetMsg_Cpy(MSG_CANNOT_CREATE_FILE_ID); |
}else reasonstr = FF_GetMsg_Cpy(MSG_CANNOT_OPEN_FILE_ID); // TODO: This leaks memory! Needs FF_GetMsg_Free()... |
else reasonstr = FF_GetMsg_Cpy(MSG_CANNOT_CREATE_FILE_ID); // TODO: This leaks memory! Needs FF_GetMsg_Free()... |
|
if (!res) { |
alertuser_id(MSG_CANNOT_SAVE_SETTINGS_ID, reasonstr); |
} |
|
if (reasonstr) FF_GetMsg_Free(reasonstr); |
|
return res; |
} |