]> git.sesse.net Git - vlc/blobdiff - projects/activex/vlccontrol.h
Replace libvlc_exception_get_message with libvlc_errmsg
[vlc] / projects / activex / vlccontrol.h
index 35e8fde8b7a654540e769a95f71b77e46885dcb7..31b6919fad3273483f865875b2efee03e119cac8 100644 (file)
@@ -105,8 +105,7 @@ private:
     {
         if( ! libvlc_exception_raised(ex) )
             return NOERROR;
-        _p_instance->setErrorInfo(IID_IVLCControl,
-                                  libvlc_exception_get_message(ex));
+        _p_instance->setErrorInfo(IID_IVLCControl, libvlc_errmsg());
         libvlc_exception_clear(ex);
         return E_FAIL;
     }