if (!G.relbase_valid) {
okee("You have to save the .blend file before using relative paths! Using absolute path instead.");
sfile->flag & ~FILE_STRINGCODE;
}
I assume the code should read:
sfile->flag &= ~FILE_STRINGCODE;
Andrea: please double-check.