Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 497 → Rev 498

/trunk/save.c
90,7 → 90,7
p = cat(p,outbuf);
}
else
p = cat(p,_strdup("(null expr)\r")); // this shouldn't happen
p = cat(p,(char*)("(null expr)\r")); // this shouldn't happen
*p++ = CR;
}
 
252,12 → 252,14
}
 
FSClose(r);
}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()...
}else reasonstr = FF_GetMsg_Cpy(MSG_CANNOT_OPEN_FILE_ID);
else reasonstr = FF_GetMsg_Cpy(MSG_CANNOT_CREATE_FILE_ID);
 
if (!res) {
alertuser_id(MSG_CANNOT_SAVE_SETTINGS_ID, reasonstr);
}
 
if (reasonstr) FF_GetMsg_Free(reasonstr);
 
return res;
}