Updated for building with the latest version of the Exception class which
does not include two-argument constructor any more.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@338 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/PlayerOptions.cxx b/rfbplayer/PlayerOptions.cxx
index 4494e26..5384c6e 100644
--- a/rfbplayer/PlayerOptions.cxx
+++ b/rfbplayer/PlayerOptions.cxx
@@ -45,7 +45,7 @@
askPixelFormat = regKey.getBool(_T("AskPixelFormat"), DEFAULT_ASK_PF);
if (pPF) delete pPF;
} catch (rdr::Exception e) {
- MessageBox(0, e.str(), e.type(), MB_OK | MB_ICONERROR);
+ MessageBox(0, e.str(), "RFB Player", MB_OK | MB_ICONERROR);
}
}
@@ -63,7 +63,7 @@
regKey.setBool(_T("AutoPlay"), autoPlay);
regKey.setBool(_T("AskPixelFormat"), askPixelFormat);
} catch (rdr::Exception e) {
- MessageBox(0, e.str(), e.type(), MB_OK | MB_ICONERROR);
+ MessageBox(0, e.str(), "RFB Player", MB_OK | MB_ICONERROR);
}
}