]> git.sesse.net Git - vlc/blobdiff - projects/activex/vlccontrol2.cpp
Replace libvlc_exception_get_message with libvlc_errmsg
[vlc] / projects / activex / vlccontrol2.cpp
index 7e90e2af37a77b8ae360921763680e6b8bdb5a58..2acec96e03ae5590085504745145ce7f3e296d7d 100644 (file)
@@ -38,7 +38,7 @@ HRESULT _exception_bridge(VLCPlugin *p,REFIID riid, libvlc_exception_t *ex)
 {
     if( libvlc_exception_raised(ex) )
     {
-        p->setErrorInfo(riid,libvlc_exception_get_message(ex));
+        p->setErrorInfo(riid,libvlc_errmsg());
         libvlc_exception_clear(ex);
         return E_FAIL;
     }