summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2003-12-14 21:14:07 +0000
committerpixel <pixel>2003-12-14 21:14:07 +0000
commit83473b5e976c94eb1692e8d35d77b61cf57c97f9 (patch)
tree2b2703f65ee75beeb25ca5316b23d05fab042140 /lib
parentd6214b0f60cb6c8386723717159b9212b1d55174 (diff)
Fixing things...
Diffstat (limited to 'lib')
-rw-r--r--lib/cdreader.cpp4
-rw-r--r--lib/luacd.cpp8
2 files changed, 6 insertions, 6 deletions
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 <stdio.h>
#include <string.h>
@@ -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;