]> git.sesse.net Git - vlc/commitdiff
Fixing a typo in WIN32 #ifdef
authorPhilippe Morin <phmo95@videolan.org>
Mon, 23 Oct 2006 20:50:17 +0000 (20:50 +0000)
committerPhilippe Morin <phmo95@videolan.org>
Mon, 23 Oct 2006 20:50:17 +0000 (20:50 +0000)
bindings/java/src/graphics-jni.cc

index 417d5fbc922950f0745747a7fbd6fffa1b4e8383..3e8d8d5ef92bd54a9c13f35ec01b3ce69d1a265f 100644 (file)
@@ -93,7 +93,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_JVLCCanvas_paint (JNIEnv *env, job
 
   /* Now paint */
   value.i_int = reinterpret_cast<int>(dsi_win->hwnd); 
-  VLC_VariableSet( 1, "drawable", value );
+  VLC_VariableSet( 0, "drawable", value );
 
 #else // UNIX
   /* Get the platform-specific drawing info */