Removed unnecessary extra terminating zero: sprintf() already zero-terminates its output.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@347 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-27 10:41:21 +00:00
parent ef61bd8995
commit b9feea5412
2 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ char *GeneratePixelShader(u32 texture_mask, bool has_zbuffer_target, bool bRende
}
}
WRITE(p,"}\n\0");
WRITE(p,"}\n");
return text;
}

View File

@ -402,7 +402,7 @@ char *GenerateVertexShader(u32 components, bool has_zbuffer_target)
// WRITE(p, "o.fog = o.pos.z/o.pos.w;\n");
// }
WRITE(p,"return o;\n}\n\0");
WRITE(p,"return o;\n}\n");
return text;
}