src/data_buffer.h

changeset 75
bf8c57437231
parent 73
1ee9b312dc18
child 85
264a61e9eba0
--- a/src/data_buffer.h	Mon Jan 13 00:15:38 2014 +0200
+++ b/src/data_buffer.h	Mon Jan 13 23:44:15 2014 +0200
@@ -1,5 +1,5 @@
 /*
-	Copyright (c) 2013-2014, Santeri Piippo
+	Copyright (c) 2012-2014, Santeri Piippo
 	All rights reserved.
 
 	Redistribution and use in source and binary forms, with or without
@@ -98,7 +98,7 @@
 			if (writesize >= allocsize) // should NEVER happen because resizing is done above
 				error ("DataBuffer: written size exceeds allocated size!\n");
 
-			buffer[writesize] = uni.b[x];
+			buffer[writesize] = uni.as_bytes[x];
 			writesize++;
 		}
 	}

mercurial