View Single Post
  #12  
Old 20th May 2015, 09:43 PM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,236
Default

replace
Code:
		for (j = 0; j < Count; j++)
		{
			memcpy(Dest, Source, Length);
			Source += Length;
			Dest += Skip;
		}
with
Code:
		for (j = 0 ; j < Count; j++)
		{
			for (i = 0 ; i < Length; i++)
				Dest[i] = Source[i];
			Source += Length;
			Dest += Skip;
		}
Reply With Quote