From 83473b5e976c94eb1692e8d35d77b61cf57c97f9 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 14 Dec 2003 21:14:07 +0000 Subject: Fixing things... --- lib/cdreader.cpp | 4 ++-- lib/luacd.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/cdreader.cpp b/lib/cdreader.cpp index 058dddc..3de92c0 100644 --- a/lib/cdreader.cpp +++ b/lib/cdreader.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: cdreader.cpp,v 1.17 2003-12-11 16:53:43 pixel Exp $ */ +/* $Id: cdreader.cpp,v 1.18 2003-12-14 21:14:08 pixel Exp $ */ #include #include @@ -194,7 +194,7 @@ cdreader::cdreader(const String & no) throw (GeneralException) : int i; #ifdef DEBUG - printm(M_ERROR, "Opening cdrom device " + no + "\n"); + printm(M_INFO, "Opening cdrom device " + no + "\n"); #endif if (GetHandle() < 0) { diff --git a/lib/luacd.cpp b/lib/luacd.cpp index 0e10af1..471c8a2 100644 --- a/lib/luacd.cpp +++ b/lib/luacd.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: luacd.cpp,v 1.6 2003-12-12 12:45:20 pixel Exp $ */ +/* $Id: luacd.cpp,v 1.7 2003-12-14 21:14:08 pixel Exp $ */ #include "luacd.h" @@ -860,7 +860,7 @@ void LuaPVD::pushstatics(Lua * L) throw (GeneralException) { } int sLua_PVD::PVD_proceed(Lua * L, int n, PVD * pvd, int caller) { - int r = 0, key_i, value_i; + int r = 0, key_i = 0, value_i; String key_s, value_s; cddate * value_date; bool invalid = false, keyisstring; @@ -870,9 +870,9 @@ int sLua_PVD::PVD_proceed(Lua * L, int n, PVD * pvd, int caller) { key_i = L->tonumber(2); } else { keyisstring = true; - key_s = L->tonumber(2); + key_s = L->tostring(2); } - + switch (caller) { case PVD_INDEX: r = 1; -- cgit v1.2.3