Hey,
why does this code not work with me:
trap_FS_Write( "abc
aa" , 6, f);
Am i too stupid to make a newline in my file with this or what ? O_O
Also how does a (etpub) xpsave.cfg file look with you guys. With me there is no single newline made inside there, although the code actually says ‘make newlines’ …
complete code here:
int len;
fileHandle_t f;
len = trap_FS_FOpenFile("xpsave.cfg", &f, FS_WRITE);
if(len < 0) {
G_Printf("could not open file
");
return;
}
trap_FS_Write( "abc
aa" , 6, f);
trap_FS_FCloseFile(f);
Whats wrong O_O
