]> git.sesse.net Git - vlc/blobdiff - projects/activex/plugin.cpp
activex: oops, used duplicate id for BITMAP resource
[vlc] / projects / activex / plugin.cpp
index e234c67fc17b161d67b229e2fe19e45da6b70957..85f612fdfd004681738bc9aea5853823f6dd91fc 100644 (file)
@@ -106,7 +106,7 @@ VLCPluginClass::VLCPluginClass(LONG *p_class_ref, HINSTANCE hInstance, REFCLSID
         _inplace_wndclass_atom = 0;
     }
 
-    HBITMAP hbitmap = (HBITMAP)LoadImage(getHInstance(), MAKEINTRESOURCE(1), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
+    HBITMAP hbitmap = (HBITMAP)LoadImage(getHInstance(), MAKEINTRESOURCE(2), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
     if( NULL != hbitmap )
     {
         PICTDESC pictDesc;