- Maps defined with Hexen-style MAPINFOs now run their scripts in the proper

order.


SVN r1565 (trunk)
This commit is contained in:
Randy Heit 2009-04-30 03:50:52 +00:00
commit 28e9693b79
3 changed files with 8 additions and 1 deletions

View file

@ -1765,7 +1765,7 @@ static void C_PasteText(FString clip, BYTE *buffer, int len)
{
// Only paste the first line.
long brk = clip.IndexOfAny("\r\n\b");
int cliplen = brk >= 0 ? brk : clip.Len();
int cliplen = brk >= 0 ? brk : (int)clip.Len();
// Make sure there's room for the whole thing.
if (buffer[0] + cliplen > len)