Typo in Java generator fixed.
authorAlexander Smorkalov <alexander.smorkalov@itseez.com>
Mon, 19 Aug 2013 12:27:06 +0000 (16:27 +0400)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Mon, 19 Aug 2013 12:27:06 +0000 (16:27 +0400)
Typo breaks debug build for Android platform.

modules/java/generator/gen_java.py

index 254298d..d82a593 100755 (executable)
@@ -544,7 +544,7 @@ JNIEXPORT jstring JNICALL Java_org_opencv_highgui_VideoCapture_getSupportedPrevi
 {
     static const char method_name[] = "highgui::VideoCapture_getSupportedPreviewSizes_10()";
     try {
-        LOGD(%s, method_name);
+        LOGD("%s", method_name);
         VideoCapture* me = (VideoCapture*) self; //TODO: check for NULL
         union {double prop; const char* name;} u;
         u.prop = me->get(CV_CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING);