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/rfbSessionReader.h b/rfbplayer/rfbSessionReader.h
index 115b1d3..31985bc 100644
--- a/rfbplayer/rfbSessionReader.h
+++ b/rfbplayer/rfbSessionReader.h
@@ -47,7 +47,7 @@
try {
rfbSession->processMsg();
} catch (rdr::Exception e) {
- MessageBox(0, e.str(), e.type(), MB_OK | MB_ICONERROR);
+ MessageBox(0, e.str(), "RFB Player", MB_OK | MB_ICONERROR);
break;
}
}