summaryrefslogtreecommitdiff
path: root/cd-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cd-tool.cpp')
-rw-r--r--cd-tool.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cd-tool.cpp b/cd-tool.cpp
index 3774168..328067e 100644
--- a/cd-tool.cpp
+++ b/cd-tool.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cd-tool.cpp,v 1.39 2004-12-27 18:46:44 pixel Exp $ */
+/* $Id: cd-tool.cpp,v 1.40 2005-03-29 01:47:06 pixel Exp $ */
#define WIP
@@ -559,10 +559,9 @@ virtual int startup() throw (GeneralException) {
if (!compile && builtin) {
Buffer built;
int i;
+
+ built.write(cd_tool_lua, cd_tool_lua_size);
- for (i = 0; i < cd_tool_lua_size; i++) {
- built.writeU8(cd_tool_lua[i]);
- }
try {
L->load(&built);
}